/* ==========================
   GENERAL STYLING
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('background3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* ==========================
   PAGE & MAIN CARD
========================== */
.page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

.main-card {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

/* ==========================
   SIDEBAR
========================== */
.sidebar {
    flex: 0 0 250px;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    color: #fff;
}

.sidebar p {
    margin: 10px 0 20px;
    font-style: italic;
    color: #eee;
}

.profile-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #fff;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.sidebar-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffb6c1;
}

/* ==========================
   MAIN CONTENT BAR
========================== */
.content {
    flex: 1;
    padding: 30px;
}

.content-bar {
    background-color: #ffe4f0;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================
   SEARCH BAR
========================== */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-container input {
    width: 250px;
    padding: 10px 15px;
    border-radius: 25px;
    border: 2px solid #ffb6c1;
    outline: none;
    font-size: 16px;
}

.search-container button {
    padding: 10px 15px;
    border: none;
    background-color: #ffb6c1;
    color: white;
    border-radius: 25px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.search-container button:hover {
    transform: scale(1.2);
}

/* ==========================
   WELCOME TEXT
========================== */
.content-bar h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #ff69b4;
}

.content-bar p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* ==========================
   ✅ HOME PAGE CARDS (FIXED)
========================== */



/* Each row is a true block */
.cards-row {
    width: 100%;
    display: block;
    margin-bottom: 40px;
}

/* HARD separation between rows (the real fix) */
.content-bar > .cards-row {
    clear: both;
}

/* Cards container (one row only) */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
}

/* Individual card */
.cute-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 10px;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.cute-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.cute-card:hover {
    transform: scale(1.05);
}

.card-link {
    display: inline-block;
    text-decoration: none;
    color: #ff69b4;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}
/* Home page cards fix */
.home-cards-row {
    width: 100%;
    margin-bottom: 40px; /* spacing between rows */
}

.home-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* ✅ allow wrapping */
}

.home-cards .cute-card {
    width: 180px; /* fixed width for layout */
    margin-bottom: 15px; /* spacing if wrapping */
}


.card-link:hover {
    color: #ff1493;
}
@media (max-width: 768px) {

    .main-card {
        flex-direction: column;
    }

    .cards-container {
        flex-wrap: wrap;
    }
}




/* ==========================
   HEARTS, STARS, CLOUDS
========================== */
.cloud {
    position: fixed;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    filter: blur(1px);
    z-index: 0;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cloud::before {
    top: -20px;
    left: 20px;
}

.cloud::after {
    top: 10px;
    right: 20px;
}

.cloud1 { width: 200px; height: 60px; top: 15%; left: 10%; }
.cloud2 { width: 260px; height: 80px; top: 25%; right: 15%; }

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.stars::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    box-shadow:
        10vw 10vh white,
        30vw 40vh pink,
        50vw 20vh white,
        70vw 60vh pink,
        80vw 30vh white;
}

.stars::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow:
        20vw 10vh white,
        40vw 30vh white,
        60vw 15vh white,
        80vw 40vh white,
        25vw 60vh white,
        50vw 70vh white,
        70vw 80vh white;
    opacity: 0.8;
}

.heart {
    position: fixed;
    width: 20px;
    height: 20px;
    background: pink;
    transform: rotate(45deg);
    opacity: 0.7;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: inherit;
    border-radius: 50%;
}

.heart::before { top: -10px; left: 0; }
.heart::after { left: -10px; top: 0; }

.heart1 { top: 20%; left: 70%; background: #ffd1dc; }
.heart2 { top: 60%; left: 30%; background: white; }

@keyframes float {
    0% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
    100% { transform: translateY(0) rotate(45deg); }
}

/* ==========================
   RESPONSIVE
========================== */
@media screen and (max-width: 900px) {
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.2);
        flex-direction: row;
        justify-content: space-around;
    }

    .sidebar-menu {
        flex-direction: row;
        gap: 8px;
    }

    .content {
        padding: 20px;
    }

    .cloud1, .cloud2 { display: none; }
    .heart1, .heart2 { width: 15px; height: 15px; }
}

/* About Me container */
.about-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap; /* makes it responsive */
}

/* Text side */
.about-text {
  flex: 1;
  min-width: 250px;
}

.about-text h1 {
  font-size: 36px;
  color: #ff69b4;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

/* Picture card side */
.picture-card {
  position: relative;
  flex: 0 0 220px;
  background-color: #fff;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Picture inside card */
.picture-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

/* Label under picture */
.picture-label {
  font-weight: bold;
  color: #ff69b4;
  font-size: 16px;
}

/* Decorative shapes */
.star {
  position: absolute;
  width: 20px;
  height: 20px;
  background: yellow;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 
    50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
  );
  top: -10px;
  left: -10px;
  transform: rotate(15deg);
}

.spiral {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid #ff69b4;
  border-radius: 50%;
  top: 10px;
  right: -10px;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media screen and (max-width: 800px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .picture-card {
    margin-top: 20px;
  }
}
/* Hobby link list */
.hobby-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.hobby-list li {
  margin-bottom: 12px; /* spacing only */
}

/* The clickable cute card */
.hobby-list a {
  display: block;
  padding: 12px 18px;
  background: rgba(255, 182, 193, 0.3);
  border-radius: 16px;
  border: 2px dashed #ffb6c1;
  text-decoration: none;
  font-size: 18px;
  color: #444;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s, background 0.3s;
}

.hobby-list a:hover {
  background: rgba(255, 105, 180, 0.45);
  transform: translateX(6px);
  color: white;
}
.corner-decor {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  font-size: 22px;
  opacity: 0.7;
}

.corner-decor span {
  animation: float 4s ease-in-out infinite;
}

.corner-decor span:nth-child(2) { animation-delay: 1s; }
.corner-decor span:nth-child(3) { animation-delay: 2s; }

.soft-quote {
  font-style: italic;
  font-size: 15px;
  opacity: 0.6;
  position: absolute;
  bottom: 25px;
  right: 25px;
}
.picture-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-intro p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
  text-align: center;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.skill-card {
  background: rgba(255, 182, 193, 0.35); /* soft pink */
  padding: 12px 20px;
  border-radius: 16px;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: default;
  transition: transform 0.3s, background 0.3s;
}

.skill-card:hover {
  transform: scale(1.1);
  background: rgba(255, 105, 180, 0.45);
}

.projects-intro p {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 25px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background: #fff; /* changed from pink to white */
  border-radius: 16px;
  padding: 15px 20px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 105, 180, 0.35); /* soft pink hover */
}

.project-card h3 {
  margin-bottom: 10px;
  color: #ff69b4;
}

.project-card p {
  font-size: 14px;
  margin-bottom: 8px;
}

.project-card img {
  margin-top: 10px;
  width: 100%;
  border-radius: 12px;
}


@media (max-width: 768px) {

  .page {
    padding: 0;
  }

  .main-card {
    width: 100%;
    max-width: 100%;
    border-radius: 0; /* optional but looks better on mobile */
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 15px 10px;
  }

  .content {
    width: 100%;
    padding: 15px;
  }

  .content-bar {
    max-width: 100%;
    margin: 15px 0;
    border-radius: 16px;
  }
}
@media (max-width: 768px) {

  .main-card {
    flex-direction: column;
  }

  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

}

/* ===== DRAWING & CUTE DESIGNS PAGE ===== */

.cards-page-title {
  font-size: 36px;
  color: #ff69b4;
  text-align: center;
  margin-bottom: 10px;
}

.cards-page-intro {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

.hobbies-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px; /* space between rows */
  flex-wrap: wrap;      /* allows wrapping on smaller screens */
}

.hobby-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 15px;
  width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.hobby-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

.hobby-card:hover {
  transform: scale(1.05);
  background-color: rgba(255, 182, 193, 0.25);
}

.hobby-desc {
  font-size: 14px;
  color: #555;
  font-style: italic;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .hobby-card {
    width: 45%; /* 2 per row on tablets */
  }
}

@media screen and (max-width: 480px) {
  .hobby-card {
    width: 90%; /* 1 per row on phones */
  }
}
/* ===== Crochet Cards Fix ===== */
.home-cards-row {
  width: 100%;
  margin-bottom: 30px;   /* space between rows */
}

.home-cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;       /* allow cards to wrap if needed */
}

/* Reuse cute-card safely */
.home-cards .cute-card {
  width: 180px;
  position: relative;
  padding: 10px;
  background-color: #fff;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

/* Description text under image */
.home-cards .card-desc {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

/* Hover effect with extra cuteness */
.home-cards .cute-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(255,105,180,0.3);
}

/* Optional: add extra floating mini hearts around each card */
.home-cards .cute-card::before,
.home-cards .cute-card::after {
  content: "❤";
  position: absolute;
  font-size: 14px;
  color: #ff69b4;
  opacity: 0.7;
}

.home-cards .cute-card::before {
  top: -10px;
  left: 5px;
  animation: float 4s ease-in-out infinite;
}

.home-cards .cute-card::after {
  bottom: -10px;
  right: 5px;
  animation: float 5s ease-in-out infinite;
}

/* Keep floating hearts animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}


