/* transition: 0.2s ease-in-out; add that to everything for buttons in and out standard. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Font A: Space Grotesk — for logo, nav, and headings */
.logo,
.nav-links a,
.text-content h1,
.page-content h1 { /* Added .page-content h1 */
  font-family: 'Space Grotesk', sans-serif;
}

/* Font B: DM Sans — for body content, paragraphs, inputs, etc. */
body,
.text-content p,
.page-content p { /* Added .page-content p */
  font-family: 'DM Sans', sans-serif;
}

body {
  background-color:#fdfdfd;
  color: #111;
}

/* === NAVIGATION === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  position:sticky;
  top:0;
  z-index: 3;
  background-color: transparent;
  height: 8px;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

/* === HERO SECTION (for index.html) === */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  height: 700px; /* Adjust as needed for content */
}

.text-content {
  max-width: 50%;
  z-index: 2;
}

.text-content h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #0fa, #56f, #f0f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.main-btn {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: black;
  background-color: #f5ded4;
  z-index: 1;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease-in-out;
}

.main-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ce7b59, #edd2cb);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.main-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
  transition: 0.2s ease-in-out;
}

.visual-box {
  width: 100%; /* Or adjust as needed for design display */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Adjust as needed */
  gap: 1rem;
  z-index: 2;
}

.image-caption {
  text-align: right;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-right: 0.3rem;
  color: #333;
}


/* === LINKS === */
a {
  text-decoration: none;
  color: inherit;
}

/* === RESPONSIVE (Mobile) === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    height: auto; /* Allow height to adjust on mobile */
  }

  .text-content,
  .visual-box {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .visual-box {
    align-items: center;
    margin-top: 2rem;
  }

  .main-btn {
    align-self: center; /* Center button on mobile */
    margin-top: 1rem;
  }

  .page-content {
    margin: 2rem auto; /* Reduce margin on mobile */
    padding: 1.5rem;
  }

  .page-content h1 {
    font-size: 2rem;
  }
}

/* === ANIMATED BACKGROUND === */
.animated-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out; /* Keeping float as a fallback, though specific blobFloat are used */
}

.blob1 {
  background: radial-gradient(circle at center, #a5f3fc, #3b82f6);
  top: -100px;
  left: -100px;
  animation: blobFloat1 20s ease-in-out infinite;
}

.blob2 {
  background: radial-gradient(circle at center, #f0abfc, #a855f7);
  top: 100px;
  right: -150px;
  animation: blobFloat2 24s ease-in-out infinite;
}

.blob3 {
  background: radial-gradient(circle at center, #fca5a5, #f43f5e);
  bottom: -150px;
  left: 30%;
  animation: blobFloat3 28s ease-in-out infinite;
}

.blob4 {
  background: radial-gradient(circle at center, #99f6e4, #14b8a6);
  bottom: -200px;
  left: 60%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: floatUpRight 180s ease-in-out infinite;
}

/* Keyframes for blob animations */
@keyframes blobFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(200px, -100px) scale(1.05); }
  50%  { transform: translate(300px, 150px) scale(0.95); }
  75%  { transform: translate(150px, 200px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-200px, 150px) scale(1.07); }
  50%  { transform: translate(-300px, 100px) scale(1); }
  75%  { transform: translate(-150px, -150px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(180px, 220px) scale(1.1); }
  50%  { transform: translate(-200px, 120px) scale(0.9); }
  75%  { transform: translate(-100px, -180px) scale(1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatUpRight {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30vw, -40vh) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

/* === FOOTER === */
.site-footer {
  margin-top: auto;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: #333;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-row a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease-in-out;
}

.footer-row a:hover {
  color: #ce7b59;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ce7b59;
  border-radius: 16px;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cookie-buttons button {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ce7b59, #edd2cb);
  color: black;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.cookie-buttons button:hover {
  transform: translateY(-1px);
}

/* === GENERAL LAYOUT === */
html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* Make main content area grow to push footer down */
}

/* Styles for about.html and order.html content */
.page-content {
  max-width: 800px;
  margin: 5rem auto; /* Adjust top margin to give space below navbar */
  padding: 2rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  z-index: 2; /* Ensure it's above the animated background */
  position: relative; /* Needed for z-index to work */
  flex: 1; /* Allow content to grow and push footer down */
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.page-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Specific styling for the Google Form iframe */
.google-form-iframe {
  width: 100%;
  height: 1200px; /* Adjust height as needed */
  border: none;
  border-radius: 15px; /* Match the overall rounded aesthetic */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.full-height-viewport {
  min-height: calc(100vh - var(--navbar-height, 80px)); /* Adjust 80px if your navbar height is different */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem; /* Keep existing padding */
}

/* ... (Keep all your existing global styles, navigation, animated-bg, footer, cookie banner, and page-content styles) ... */

/* === HERO SECTION (for index.html) === */
.hero-section {
  /* This ensures the hero section takes up at least the full viewport height */
  min-height: calc(100vh - 80px); /* Adjust 80px if your navbar height is different */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  align-items: center; /* Horizontally center content */
  text-align: center; /* Center text within text-content */
  padding: 5rem 2rem; /* Consistent padding */
  position: relative;
  z-index: 1;
}

.text-content {
  max-width: 800px; /* Increased max-width for welcome text */
  z-index: 2;
  /* Removed margin-bottom here as designs-gallery will handle its own top margin */
}

.text-content h1 {
  font-size: 3.5rem; /* Larger welcome heading */
  font-weight: 600;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #0fa, #56f, #f0f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-content p {
  font-size: 1.3rem; /* Larger welcome paragraph */
  line-height: 1.6;
  margin-bottom: 2rem; /* Space before the button */
}

.main-btn {
  /* ... (keep existing main-btn styles) ... */
}


/* === NEW GALLERY STYLES === */
.designs-gallery {
  padding: 5rem 2rem; /* Consistent padding, pushes content down */
  max-width: 1200px; /* Max width for the gallery */
  margin: 0 auto; /* Center the gallery section on the page */
  text-align: center; /* Center the h2 and gallery-intro text */
  position: relative;
  z-index: 1;
}

.designs-gallery h2 {
  font-size: 2.8rem; /* Large heading for gallery */
  margin-bottom: 1rem; /* Space below heading */
  font-weight: 600;
  text-align: center; /* Ensure heading is centered */
}

.gallery-intro {
  font-size: 1.1rem;
  margin-bottom: 3rem; /* More space below intro text and above grid */
  color: #555;
  text-align: center; /* Ensure intro text is centered */
}

.gallery-grid {
  display: grid;
  /* This creates a responsive grid: 3 columns on large screens,
     adjusts to 2 or 1 column on smaller screens automatically */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; /* Space between grid items */
  justify-content: center; /* Centers the grid items if they don't fill the row */
  align-items: stretch; /* Makes items stretch to fill the row height */
}

.gallery-item {
  background: rgba(255, 255, 255, 0.2); /* Frosted glass effect */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center image and text within item */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px; /* Fixed height for images */
  object-fit: cover; /* Crop images to fit */
  border-radius: 12px; /* Rounded corners for images */
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle border */
}

.style-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* === RESPONSIVE (Mobile) === */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem;
    min-height: auto; /* Allow height to adjust on mobile */
  }

  .text-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .text-content h1 {
    font-size: 2.5rem;
  }

  .text-content p {
    font-size: 1rem;
  }

  /* Responsive for gallery */
  .designs-gallery {
    padding: 3rem 1rem; /* Adjust padding for smaller screens */
  }

  .designs-gallery h2 {
    font-size: 2rem;
  }

  .gallery-intro {
    margin-bottom: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* Single column on small screens */
    gap: 1.5rem;
  }
}

/* Custom Styles CTA Section */
.custom-styles-cta {
  padding: 4rem 2rem;
  max-width: 800px;
  /* TRIPLE THE DISTANCE HERE */
  margin: 12rem auto; /* Changed from 3rem to 9rem */
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.custom-styles-cta p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

/* Responsive adjustments for this section */
@media (max-width: 768px) {
  .custom-styles-cta {
    padding: 2rem 1.5rem;
    /* Adjust margin for mobile if needed, perhaps less than 9rem */
    margin: 4rem auto; /* Example: reduced margin for smaller screens */
  }

  .custom-styles-cta p {
    font-size: 1rem;
  }
}