/* ==================== */
/* CSS VARIABLES */
/* ==================== */
:root {
  /* Light Mode Colors */
  --bg-gradient-start: #fff5f5;
  --bg-gradient-end: #ffe0e0;
  --text-primary: #333;
  --text-secondary: #666;

  --header-gradient-start: #ff4b2b;
  --header-gradient-end: #ff416c;

  --bubble-gradient-start: #ff6b6b;
  --bubble-gradient-end: #ee5a6f;
  --bubble-shadow: rgba(255, 75, 43, 0.4);

  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.12);

  --accent-color: #ff416c;
  --accent-shadow: rgba(255, 65, 108, 0.4);

  --btn-gradient-start: #ff3b3b;
  --btn-gradient-end: #c92a2a;
  --btn-hover-start: #ff5252;
  --btn-hover-end: #e03131;

  --project-bg: #f8f9fa;
  --project-hover-bg: #fff0f0;

  --footer-gradient-start: #2c2c2c;
  --footer-gradient-end: #1a1a1a;
  --footer-text: #aaa;
}

/* Dark Mode Colors - Applied via data-theme attribute */
[data-theme="dark"] {
  --bg-gradient-start: #1a1a1a;
  --bg-gradient-end: #2d1a1a;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;

  --header-gradient-start: #cc3922;
  --header-gradient-end: #d93556;

  --bubble-gradient-start: #d94f4f;
  --bubble-gradient-end: #c94560;
  --bubble-shadow: rgba(217, 79, 79, 0.5);

  --card-bg: #2a2a2a;
  --card-shadow: rgba(0, 0, 0, 0.4);

  --accent-color: #ff5f7e;
  --accent-shadow: rgba(255, 95, 126, 0.5);

  --btn-gradient-start: #d93535;
  --btn-gradient-end: #a82525;
  --btn-hover-start: #ff4545;
  --btn-hover-end: #c92929;

  --project-bg: #333333;
  --project-hover-bg: #3d2828;

  --footer-gradient-start: #1a1a1a;
  --footer-gradient-end: #0d0d0d;
  --footer-text: #888;
}

/* Fallback for system preference (when no data-theme is set) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg-gradient-start: #1a1a1a;
    --bg-gradient-end: #2d1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;

    --header-gradient-start: #cc3922;
    --header-gradient-end: #d93556;

    --bubble-gradient-start: #d94f4f;
    --bubble-gradient-end: #c94560;
    --bubble-shadow: rgba(217, 79, 79, 0.5);

    --card-bg: #2a2a2a;
    --card-shadow: rgba(0, 0, 0, 0.4);

    --accent-color: #ff5f7e;
    --accent-shadow: rgba(255, 95, 126, 0.5);

    --btn-gradient-start: #d93535;
    --btn-gradient-end: #a82525;
    --btn-hover-start: #ff4545;
    --btn-hover-end: #c92929;

    --project-bg: #333333;
    --project-hover-bg: #3d2828;

    --footer-gradient-start: #1a1a1a;
    --footer-gradient-end: #0d0d0d;
    --footer-text: #888;
  }
}

/* ==================== */
/* GLOBAL STYLES */
/* ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* ==================== */
/* HEADER */
/* ==================== */
header {
  text-align: center;
  padding: 5rem 2rem 8rem;
  background: linear-gradient(135deg, var(--header-gradient-start), var(--header-gradient-end));
  color: white;
  position: relative;
  overflow: hidden;
  clip-path: ellipse(100% 100% at 50% 0%);
}

/* Navigation Menu */
.main-nav {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 90%;
}

/* Mobile Menu Toggle Button (Hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 20;
  background: rgba(255, 255, 255, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  padding: 0;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hamburger {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-link:hover::after {
  width: 60%;
}

/* Decorative floating bubbles in header */
header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

header::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  animation: float 6s ease-in-out infinite reverse;
}

header h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

header p {
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
}

/* Theme Toggle Button */
.theme-toggle {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(180deg) scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* ==================== */
/* BUBBLE SECTIONS */
/* ==================== */
.bubble-section {
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  gap: 3rem;
}

.bubble-section.reverse {
  flex-direction: row-reverse;
}

/* Larger Circular Bubble - Partially off-screen */
.circle-bubble {
  flex-shrink: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bubble-gradient-start), var(--bubble-gradient-end));
  box-shadow: 0 20px 60px var(--bubble-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3rem;
  color: white;
  text-align: center;
  position: relative;
  animation: pulse 4s ease-in-out infinite;
  transform: translateX(-80px);
  margin-left: -80px;
}

.bubble-section.reverse .circle-bubble {
  transform: translateX(80px);
  margin-left: 0;
  margin-right: -80px;
}

.circle-bubble::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: ripple 3s ease-out infinite;
}

.circle-bubble h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.circle-bubble p {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 300;
}

/* ==================== */
/* CONTENT AREAS */
/* ==================== */
.content-area {
  flex: 1;
  background: var(--card-bg);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 15px 40px var(--card-shadow);
  position: relative;
  min-height: 400px;
}

.content-area h3 {
  color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content-area p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* Highlighted inline note used in hobby pages */
.highlight {
  font-weight: 700;
  background: rgba(255, 65, 108, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

/* ==================== */
/* ABOUT SECTION */
/* ==================== */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 250px;
}

.profile-container {
  flex-shrink: 0;
  text-align: center;
}

.profile-container img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--accent-color);
  box-shadow: 0 10px 35px var(--accent-shadow);
  transition: transform 0.3s ease;
}

.profile-container img:hover {
  transform: scale(1.05);
}

/* ==================== */
/* PROJECT PAGE STYLES */
/* ==================== */

.project-hero {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border-radius: 25px;
  box-shadow: 0 15px 40px var(--card-shadow);
}

.project-hero h2 {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.meta-icon {
  font-size: 1.3rem;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 2rem 0;
}

.partner-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.partner-link:hover {
  text-decoration: underline;
}

.section-subtitle {
  color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.subsection-title {
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.tech-stack {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.tech-badge {
  padding: 0.5rem 1rem;
  background: var(--project-bg);
  border-radius: 20px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--accent-shadow);
}

.features-grid {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.feature-section {
  margin-bottom: 4rem;
}

.feature-section h3 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.feature-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--card-bg);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 10px 30px var(--card-shadow);
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--card-shadow);
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  min-width: 300px;
}

.feature-content h4 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-content ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.feature-content li {
  color: var(--text-primary);
  margin: 0.5rem 0;
  line-height: 1.6;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-image:hover img {
  transform: scale(1.05);
}

.mobile-screenshot {
  max-height: 600px;
  width: auto;
}

.web-screenshot {
  width: 100%;
  max-width: 700px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.role-card {
  background: var(--project-bg);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.role-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px var(--accent-shadow);
}

.role-card h5 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.role-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.learnings-list {
  padding-left: 2rem;
  margin-top: 1rem;
}

.learnings-list li {
  margin: 1rem 0;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ==================== */
/* PROJECT PAGE RESPONSIVE */
/* ==================== */

@media (max-width: 768px) {

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
  }

  .project-hero {
    padding: 2rem 1.5rem;
  }

  .project-hero h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .feature-row {
    padding: 2rem 1.5rem;
  }

  .feature-section h3 {
    font-size: 1.8rem;
  }

  .mobile-screenshot {
    max-height: 500px;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .project-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .project-hero {
    padding: 1.5rem 1rem;
  }

  .project-hero h2 {
    font-size: 1.8rem;
  }

  .feature-row {
    padding: 1.5rem 1rem;
  }

  .mobile-screenshot {
    max-height: 400px;
  }

  .tech-stack {
    gap: 0.5rem;
  }

  .tech-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ==================== */
/* HOBBIES SECTION */
/* ==================== */
.hobby-gallery {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hobby-card {
  text-align: center;
}

.bouquet {
  position: relative;
  width: 250px;
  height: 150px;
  margin: 0 auto;
}

.bouquet img {
  position: absolute;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.bouquet img:nth-child(1) {
  top: 20px;
  left: 0;
  transform: rotate(-8deg);
  z-index: 1;
}

.bouquet img:nth-child(2) {
  top: 0;
  left: 70px;
  transform: rotate(3deg);
  z-index: 2;
}

.bouquet img:nth-child(3) {
  top: 25px;
  left: 140px;
  transform: rotate(10deg);
  z-index: 1;
}

.hobby-card:hover .bouquet img {
  filter: brightness(1.1);
}

.hobby-card:hover .bouquet img:nth-child(1) {
  transform: rotate(-4deg) translateY(-5px);
}

.hobby-card:hover .bouquet img:nth-child(2) {
  transform: rotate(0deg) translateY(-8px);
}

.hobby-card:hover .bouquet img:nth-child(3) {
  transform: rotate(6deg) translateY(-5px);
}

.hobby-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-end));
  box-shadow: 0 5px 15px rgba(255, 59, 59, 0.3);
  transition: all 0.3s ease;
}

.hobby-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 59, 59, 0.4);
  background: linear-gradient(135deg, var(--btn-hover-start), var(--btn-hover-end));
}

/* ==================== */
/* PROJECTS SECTION */
/* ==================== */
.projects-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-card {
  display: block;
  padding: 2rem;
  background: var(--project-bg);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card h4,
.project-card p {
  pointer-events: none;
}

.project-card:hover {
  background: var(--project-hover-bg);
  transform: translateX(10px);
  box-shadow: 0 5px 15px var(--accent-shadow);
}

.project-card h4 {
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-end));
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(255, 59, 59, 0.3);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 59, 59, 0.4);
  background: linear-gradient(135deg, var(--btn-hover-start), var(--btn-hover-end));
}

.contact-icon {
  font-size: 1.5rem;
}

/* ==================== */
/* FOOTER */
/* ==================== */
footer {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--footer-gradient-start), var(--footer-gradient-end));
  color: var(--footer-text);
  margin-top: 4rem;
  font-size: 1rem;
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translateX(-80px) scale(1);
  }

  50% {
    transform: translateX(-80px) scale(1.03);
  }
}

.bubble-section.reverse .circle-bubble {
  animation: pulseReverse 4s ease-in-out infinite;
}

@keyframes pulseReverse {

  0%,
  100% {
    transform: translateX(80px) scale(1);
  }

  50% {
    transform: translateX(80px) scale(1.03);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ==================== */
/* HOBBY PAGES STYLES */
/* ==================== */

/* Back Link Button */
.back-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-5px);
}

/* Intro Section */
.intro-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.intro-section h2 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* ==================== */
/* COOKING PAGE STYLES */
/* ==================== */

.recipes-grid {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.recipe-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--card-shadow);
}

.recipe-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.recipe-content {
  padding: 2rem;
}

.recipe-content h3 {
  color: var(--accent-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.recipe-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recipe-description {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ingredients {
  margin-bottom: 1.5rem;
}

.ingredients h4 {
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.ingredients ul {
  list-style: none;
  padding: 0;
}

.ingredients li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
}

.ingredients li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.instructions {
  margin-top: 1.5rem;
}

.instructions h4 {
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.instructions ol {
  padding-left: 1.5rem;
  color: var(--text-primary);
}

.instructions li {
  padding: 0.5rem 0;
  line-height: 1.6;
}

/* NOTES */

.notes {
  margin-top: 1.5rem;
}

.notes h4 {
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.notes ol {
  padding-left: 1.5rem;
  color: var(--text-primary);
}

.notes li {
  padding: 0.5rem 0;
  line-height: 1.6;
}

/* ==================== */
/* ART PAGE STYLES */
/* ==================== */

.art-gallery {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.art-item {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.art-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px var(--accent-shadow);
}

.art-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover .art-image {
  transform: scale(1.05);
}

.art-info {
  padding: 1.5rem;
}

.art-info h3 {
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.art-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.art-description {
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Modal for full-size image view */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-close:hover {
  transform: scale(1.2) rotate(90deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
  }

  to {
    transform: scale(1);
  }
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */
@media (max-width: 1024px) {
  .circle-bubble {
    width: 400px;
    height: 400px;
    transform: translateX(-60px);
    margin-left: -60px;
  }

  .bubble-section.reverse .circle-bubble {
    transform: translateX(60px);
    margin-left: 0;
    margin-right: -60px;
  }

  @keyframes pulse {

    0%,
    100% {
      transform: translateX(-60px) scale(1);
    }

    50% {
      transform: translateX(-60px) scale(1.03);
    }
  }

  @keyframes pulseReverse {

    0%,
    100% {
      transform: translateX(60px) scale(1);
    }

    50% {
      transform: translateX(60px) scale(1.03);
    }
  }
}

@media (max-width: 768px) {
  header {
    padding: 5rem 2rem 8rem;
    clip-path: ellipse(100% 100% at 50% 0%);
  }

  header h1 {
    font-size: 2.8rem;
  }

  header p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile Navigation - Slide in from left */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    height: 100dvh;
    /* Use dynamic viewport height for mobile */
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 5rem;
    padding-bottom: 2rem;
    gap: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0 20px 20px 0;
    background: linear-gradient(135deg, var(--header-gradient-start), var(--header-gradient-end));
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(0);
  }

  .main-nav.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.4rem;
    padding: 1.2rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: 15px;
    display: block;
    flex-shrink: 0;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
  }

  .nav-link::after {
    display: none;
  }

  /* Overlay when menu is open */
  .main-nav.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .bubble-section,
  .bubble-section.reverse {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 0;
  }

  .circle-bubble,
  .bubble-section.reverse .circle-bubble {
    width: 280px;
    height: 280px;
    transform: translateX(0);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -40px;
    z-index: 2;
    position: relative;
  }

  .content-area {
    padding: 3rem 2rem 2rem;
    padding-top: 60px;
    z-index: 1;
    position: relative;
  }

  @keyframes pulse {

    0%,
    100% {
      transform: translateX(0) scale(1);
    }

    50% {
      transform: translateX(0) scale(1.03);
    }
  }

  @keyframes pulseReverse {

    0%,
    100% {
      transform: translateX(0) scale(1);
    }

    50% {
      transform: translateX(0) scale(1.03);
    }
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .bouquet {
    width: 200px;
    height: 120px;
  }

  .bouquet img {
    width: 80px;
    height: 80px;
  }

  .theme-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: 1.5rem;
    right: 1.5rem;
  }

  .profile-container img {
    width: 180px;
    height: 180px;
  }

  .circle-bubble h2 {
    font-size: 2rem;
  }

  .circle-bubble p {
    font-size: 1rem;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .recipe-image {
    height: 250px;
  }

  .recipe-content {
    padding: 1.5rem;
  }

  .art-gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
}