/* home-style.css - Mobile Responsive Styling for Infinity7 Homepage */

/* Base styles (desktop-first) */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #0d0d0d;
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-container {
  display: flex;
  justify-content: space-between; /* logo left, toggle right */
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

/* Ensure mobile toggle is visible only on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  order: 2; /* should push it to right */
}

/* Show toggle on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  /* Optionally, force logo to order 1 explicitly */
  .custom-logo {
    order: 1;
  }
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero {
  text-align: center;
  padding: 5rem 2rem 2rem;
  position: relative;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  margin: 0 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #e0b04e;
  border: none;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.hero-buttons .btn.gold {
  background: #fff;
  color: #000;
}

.services-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 1rem;
}

.our-work-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.footer-inner {
  text-align: center;
  padding: 2rem 1rem;
}

.footer-nav,
.footer-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .services-grid,
  .why-grid,
  .our-work-gallery {
    grid-template-columns: 1fr;
  }

  .client-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-nav,
  .footer-socials {
    flex-direction: column;
    align-items: center;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid,
  .why-grid,
  .our-work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Utility Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile nav menu hidden by default */
.main-nav {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    max-height: 0;
  }

  .main-nav.open {
    max-height: 500px; /* enough height to show all items */
  }

  .nav-links {
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }
}
/* Mobile contact  by default */
/* Base styles */
.contact-intro,
.contact-section {
  padding: 60px 20px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtext {
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

/* Form and info column shared styles */
.contact-form-column,
.contact-info-column {
  flex: 1;
  min-width: 300px;
}

/* Form styling */
.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 4px;
  width: 100%;
}

.contact-form-wrapper button {
  background-color: #e0b04e;
  color: #000;
  border: none;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

.contact-form-wrapper button:hover {
  background-color: #d19a33;
}

/* Info card */
.info-card {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  font-size: 1rem;
}

/* Gold divider */
.gold-divider {
  height: 3px;
  background: #e0b04e;
  margin: 30px 0;
  border-radius: 1px;
  width: 60px;
}

/* Map */
.map-embed-container iframe {
  width: 100%;
  border-radius: 8px;
}

/* Headings */
h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

/* Success message */
.success-message {
  padding: 12px;
  background-color: #d4edda;
  color: #155724;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .contact-form-column,
  .contact-info-column {
    width: 100%;
  }

  .map-section h3 {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .custom-product-container {
    flex-direction: column; /* stack vertically */
    padding: 30px 20px; /* keep desktop padding */
    gap: 40px; /* keep spacing between image and info */
    max-width: 100%; /* full width */
  }

  .custom-product-image,
  .custom-product-info {
    max-width: 100%;
  }

  .custom-product-image {
    margin-bottom: 0; /* no extra margin, gap handles spacing */
  }

  .custom-product-title {
    font-size: 2rem; /* same as desktop */
    margin-bottom: 12px;
  }

  .custom-product-price {
    font-size: 1.4rem; /* same as desktop */
  }

  .custom-product-short-description {
    font-size: 1rem; /* same as desktop */
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .custom-product-add-to-cart {
    margin-top: auto;
  }

  .custom-product-full-description {
    padding: 0 20px; /* keep horizontal padding */
  }
}
/* Mobile Styles */
.my-account-page {
    padding: 30px 20px;
    background-color: #f9f9f9;
}

.account-container {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.woocommerce form {
    display: block;
}

.woocommerce form .form-row {
    margin-bottom: 16px;
}

.woocommerce button.button {
    width: 100%;
    background-color: #1e73be;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}