* {
    box-sizing: border-box;
    margin: 0;
}
body{
    background-color: #f5e9da;
    font-family: "Inter", sans-serif;
}
  /* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scrollbar-color: #4b2e24;
    
}
::-webkit-scrollbar{
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb{
    background-color: #4b2e24;
    border-radius: 8px;
    height: 10px;
}
::-webkit-scrollbar-track{
    background-color: #f5e9da;
}
/* Navbar */
 .navbar {
    background-color: #e3c7a5; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(50px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 30px; 
    box-sizing: border-box;
    flex-wrap: wrap; 

    
    position: sticky;
    top: 0; 
    left: 0; 
    right: 0;
    margin: 0 auto; 
    z-index: 1000;
    min-width: 320px; 
    transition: all 0.3s ease; 
}

/* Logo Styling */
.logo {
    font-size: 28px;
    font-weight: 700;
    color: #4b2e24; /* White text for logo */
    padding: 5px 0; /* Align with other items */
}

/* Navigation Links (Desktop) */
.menu {
    display: flex; /* Always display on desktop */
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1; /* Allow links to take available space */
    justify-content: center; /* Center the links */
    transition: all 0.3s ease-in-out;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: #4b2e24;
    font-weight: 500;
    font-size: 0.9em;
    padding: 10px 5px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #4b2e24; /* Blue accent color */
    transition: width 0.5s ease, left 0.3s ease;
}

.menu a:hover {
    font-weight: 600;
    color: #4b2e24; 
}

.menu a:hover::after {
    width: 100%;
    left: 0;
}

/* Auth Buttons Container (Desktop) */
.icons {
    display: flex; /* Always display on desktop */
    align-items: center;
}

.icons a {
    padding: 13px 20px;
    border: none;
    border-radius: 25px; /* Rounded buttons */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
    font-size: 14px;
}

.icons .signup{
    background-color: #4b2e24; /* Blue accent primary button */
    color: #e3c7a5; /* White text for contrast */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.signup {
    text-decoration: none;
    color: #e3c7a5;
}
/* .signup a:hover{
    color: #4b2e24;
} */
.icons .signup:hover {
    background-color: transparent; /* Slightly darker blue on hover */
    transform: translateY(-2px);
    color: #4b2e24;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}


/* Hamburger Menu Icon */
.hamburger-menu {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-between;
    width: 25px; /* Reduced width */
    height: 18px; /* Reduced height */
    cursor: pointer;
    position: relative;
    z-index: 100; /* Ensure it's above other elements when open */
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #4b2e24;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger animation for 'x' shape */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* Adjusted for new height */
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* Adjusted for new height */
}

/* Mobile Menu Content (Dropdown) */
.mobile-menu-content {
    display: flex; /* Flex container for links and auth buttons */
    flex-direction: column; /* Stack them vertically */
    width: calc(100% - 40px); /* Full width minus padding for mobile dropdown */
    max-width: 400px; /* Max width for mobile menu */
    text-align: center;
    position: absolute;
    top: 100%; /* Position right below the navbar */
    margin-top: 10px; /* Space between navbar and dropdown menu */
    left: 50%;
    transform: translateX(-50%) translateY(-20px); /* Initial hidden state with slide effect */
    background-color: #e3c7a5;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); /* Darker shadow */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99;
    transition: all 0.3s ease-in-out;
    padding-bottom: 20px; /* Padding for buttons at the bottom */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Mobile specific links and auth buttons, nested inside mobile-menu-content */
.mobile-menu-content .navbar-links-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Ensure these are flex for stacking */
    flex-direction: column;
    width: 100%;
    padding-top: 20px;
}

.mobile-menu-content .navbar-links-mobile li {
    margin: 10px 0;
}

.mobile-menu-content .navbar-links-mobile a {
    text-decoration: none;
    color: #4b2e24; /* Off-white text for mobile links */
    font-weight: 500;
    font-size: 1.1em;
    padding: 12px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}
.mobile-menu-content .navbar-links-mobile a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #4b2e24; 
    transition: width 0.5s ease, left 0.3s ease;
}
.mobile-menu-content .navbar-links-mobile a:hover {
    color: #4b2e24; /* Blue accent on hover */
}
.mobile-menu-content .navbar-links-mobile a:hover::after {
    width: 100%;
    left: 0;
}


.mobile-menu-content .icons {
    display: flex; /* Ensure these are flex for stacking */
    flex-direction: column;
    width: 100%;
    padding: 10px 0 0;
    gap: 10px;
}

.mobile-menu-content .icons a {
    width: calc(100% - 60px); /* Adjust for parent padding and button margins */
    margin: 0 auto; /* Center buttons */
    max-width: 300px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-menu-content .icons .signup {
    background-color: #4b2e24;
    color: #e3c7a5;
    box-shadow: 0 4px 10px rgba(85, 51, 20, 0.3);
}

.mobile-menu-content .icons .signup:hover {
    background-color: transparent;
    color: #4b2e24;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.61);
}

/* Responsive Design - Media Queries */
@media (max-width: 768px) {
    .navbar{
        padding: 10px 20px;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on smaller screens */
    }

    /* Hide desktop links and auth buttons on mobile */
    .menu,
    .icons {
        display: none;
    }

    /* Show mobile menu content when menu is open */
    .navbar.menu-open .mobile-menu-content {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0); /* Slide into view */
        pointer-events: auto;
        /* Width already set at 100% minus padding in .mobile-menu-content general rules */
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5em;
    }

    .navbar{
        padding: 10px 15px;
    }

    .hamburger-menu {
        width: 25px; /* Stay same as 768px */
        height: 18px; /* Stay same as 768px */
    }
}

/* Header */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
    align-items: center;
    background-color: #e3c7a5;
}
  
.hero-content {
    padding: 2rem 2rem 2rem 4rem;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}
  
.hero-text {
    max-width: 600px;
    animation: fadein 2s ease;
}
@keyframes fadein{
    from{
        opacity: 0; 
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
  
.hero-text h2 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #4b2e24;
}
  
.hero-text p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #291c0e;
    max-width: 500px;
}
  
.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}
  
.learn {
    padding: 1rem 2rem;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    background-color: #4b2e24;
    border: 1px solid #4b2e24;
    text-decoration: none;
    color: #e3c7a5;
}
  
.learn:hover {
    border-color: 2px solid #4b2e24;
    background-color: #e3c7a5;
    color: #4b2e24;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) ;
    transform: translateY(-2px);
}
  
.btn-icon {
    transition: transform 0.3s ease;
}
  
.learn:hover .btn-icon {
    transform: translateX(4px);
}
  
.hero-image {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
}
  
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
  
  
@media (max-width: 1200px) {
    .hero-text h2 {
        font-size: 3.5rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
}
  
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .hero-content {
        padding: 3rem 2rem;
        min-height: auto;
        order: 2;
    }
  
    .hero-image {
        height: 50vh;
        order: 1;
    }
    
    .hero-text h2 {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .learn {
        justify-content: center;
        text-align: center;
    }  

}
  
@media (max-width: 768px) {  
    .hero-text h2 {
        font-size: 3rem;
    }
  
    .hero-text p {
        font-size: 1.1rem;
    }
  
    .hero-content {
        padding: 32px 24px;
    }
}
  
@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }
  
    .hero-content {
        padding: 1.5rem 1rem;
    }
  
    .learn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}
  


/* Havenmade Collection */
.interior{
    max-width: 1200px;
    margin: auto;
    padding: 4rem 1rem;
}

.title{
    font-size: 25px;
    text-align: center;
    margin-bottom: 1rem;
    color: #4b2e24;
}
.sub{
    text-transform: uppercase;
    font-size: 10px;
    text-align: center;
    color: #291c0e;
    letter-spacing: 1px;
}

.grid{
    display: grid;
    gap: 25px;
}

.cat{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 50px;
}

.category{
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease;
}
.category:hover{
    transform: scale(1.05);
}
.item{
    background: rgba(0, 0, 0, 0.55);
    bottom: 0;
    color: #e3c7a5;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    inset: 0;
    padding: 10px;
}
.item h3{
    font-size: 20px;
    margin-bottom: 10px;
}
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.modal-content{
    max-width: 400px;
    margin: 100px auto;
    position: relative;
}
.slider{
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}
.slide{
    min-width: 100%;
}
.slide img{
    width: 100%;
    border-radius: 10px;
}
.close{
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 50px;
    color: #e3c7a5;
    cursor: pointer;
}
@media (max-width: 600px) {
    .modal-content {
        margin: 60px auto;
    }
    .slider{
        gap: 0;
    }
    .close {
        top: -40px;
        font-size: 40px;
    }
}

/* Havenmade About */
.about{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #e3c7a5;
    color: #4b2e24;
    padding: 30px;
    margin: auto;
}

.story{
    flex: 1;
    padding: 30px;
}
.right{
    position: relative;
    float: right;
    right: 0px;
    width: 500px;
    height: 300px;
}

.story-head{
    text-transform: uppercase;
    font-size: 10px;
    margin-bottom: 10px;
}
.story h4{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}
.story-des{
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.cilent{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ava{
    display: flex;
}
.ava img{
    width: 40px;
    height: 40px;
    border: 2px solid #4b2e24;
    border-radius: 50%;
    margin-left: -10px;
}
.ava img:first-child{
    margin-left: 0;
}

.rating{
    font-size: 12px;
    margin-top: 10px;
}

.btn{
    border: 1px solid #4b2e24;
    border-radius: 3px;
    padding: 7px 7px;
    background-color: #4b2e24;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55);
    transition: transform 0.5s ease;
}
.btn:hover{
    transform: translateY(-3px);
}
.btn a{
    color: #e3c7a5;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}
/* Mobile phones (≤768px) */
@media (max-width: 768px) {
    .about {
        padding: 15px;
    }
    .right {
        width: 0%;
        height: auto; 
        margin-top: 15px; 
    }
    .story {
        padding: 15px;
    }
    .story h4 {
        font-size: 20px;
    }
    .story-des {
        font-size: 13px;
    }
    .rating {
        font-size: 9px;
    }
    .btn {
        padding: 5px 5px;
    }
    .btn a {
        font-size: 13px;
    }
}
/* Service */
.services{
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
}
.line-wrapper{
    display: flex;
    justify-content: center;
    gap: 10px;
}
.line{
    width: 2px;
    height: 40px;
    background-color: #4b2e24;
}
.services h2{
    color: #4b2e24;
    text-align: center;
    font-size: 35px;
    margin-bottom: 15px;
}
.services p{
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
    color: #291c0e;
    font-weight: 600;
}
.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.service{
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease;
}
.service:hover{
    transform: scale(1.05);
}
@media(max-width: 600px){
    .services p{
    font-weight: 400;  
    font-size: 14px;
    }
}
@media (max-width: 400px){
    .line{
        width: 0;
        height: 0;
    }
}

/* Testimonials */
.testimonials {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-header h2 {
    font-size: 36px;
    color: #4b2e24;
    margin-bottom: 10px;
}

.testimonial-header p {
    font-size: 18px;
    color: #291c0e;
}

.testimonial {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
}

.testimonial-card {
      background: #e3c7a5;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
}

.testimonial-card img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 20px;
      border: 3px solid #e3c7a5;
}

.testimonial-card h4 {
      margin: 0;
      font-size: 18px;
      font-weight: bold;
      color: #4b2e24;
}

.testimonial-card span {
      font-size: 14px;
      color: #291c0e;
      margin-bottom: 15px;
}

.testimonial-card p {
      font-size: 16px;
      line-height: 1.5;
      color: #291c0e;
}

@media (max-width: 600px) {
    .testimonial-header h2 {
        font-size: 23px;
    }
    .testimonial-header p {
        font-size: 13px;
    }
    .testimonial-card {
        padding: 20px;
    }
}

/* Faq Section */
.faq-section{
    padding: 60px;
}
.container{
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 32px;
}
.faq-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.faq-header{
    padding: 30px;
}
.faq-title{
    font-size: 50px;
    color: #4b2e24;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}
.faq-description{
    font-size: 18px;
    line-height: 1.5;
    color: #291c0e;
    font-weight: 400;
}
details{
    background-color: #e3c7a5;
    color: #291c0e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
summary{
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    position: relative;
    font-size: 18px;
    padding-right: 20px;
}
summary::marker{
    display: none;
}
summary::after{
    content: "➕";
    position: absolute;
    right: 0;
    font-size: 18px;
    transition: transform 0.3s ease;
}
details[open] summary::after{
    content: "➖";
    transform: rotate(180deg);
}
details p{
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.3;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
  }

  .faq-title {
    font-size: 40px;
    /* text-align: center; */
  }

  .faq-header {
    padding: 20px;
    text-align: center;
  }

  .faq-description {
    font-size: 14px;
    text-align: center;
  }

  .container {
    padding: 0 0px;
  }

  details {
    padding: 15px;
  }

  summary {
    font-size: 16px;
  }

  details p {
    font-size: 15px;
  }
}

.contacts{
    background: url(/fur/Living\ 1.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    padding: 64;
    height: 60vh;
}
.contacts-overlay{
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    z-index: 1;
}
.contacts-text{
    z-index: 2;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.contacts-text h2{
    font-size: 55px;
    color: #e3c7a5;
}
.contacts-text p{
    font-size: 16px;
    color: #f5e9da;
}
.contacts-button{
    margin-top: 20px;
}
.contacts-us{
    display: inline-block;
    text-decoration: none;
    background-color: #4b2e24;
    padding: 15px 50px;
    color: #e3c7a5;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
    transition: all 1s ease;
}
.contacts-us:hover{
    color: #4b2e24;
    background-color: #e3c7a5;
    transform: translateY(-2px);
}
  
.contacts-us:hover .btn-icon {
    transform: translateX(4px);
}
@media (max-width: 600px){
    .contacts-text h2{
        font-size: 35px;
    }
    .contacts-text p{
        font-size: 12px;
    }
    .contacts-us{
        padding: 10px 30px;
    }
}
footer{
    margin-top: 1px;
    font-family: 'Segoe UI',  sans-serif;
    background-color: #4b2e24;
    color: #e3c7a5;
    padding: 60px 20px 30px;
}
.footer{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.footer-logo h2{
    font-size: 28px;
    margin-bottom: 10px;
}
.footer-logo p{
    font-size: 15px;
    color: #f5e9da;
}
.footer-links h4,
.contact h4, 
.socials h4{
    font-size: 16;
    margin-bottom: 10px;
    color: #e3c7a5;
}
.footer-links ul,
.contact ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li,
.contact ul li{
    margin-bottom: 8px;
}
.footer-links ul li a{
    color: #fefefe;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.footer-links ul li a:hover {
    color: #e3c7a5;
}

.contact ul li{
    font-size: 14px;
}

.socials .icon{
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.socials .icon a{
    display: inline-block;
    background-color: #e3c7a5;
    border-radius: 50%;
    text-decoration: none;
    color: #291c0e;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 60px;
    transition: background-color 0.3s ease;
}
.socials .icon a:hover{
    background-color: #f5e9da;
}

.bottom{
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #f5e9da;
}
@media (max-width: 600px) {
    footer{
        text-align: center;
    }
    .socials .icon{
        justify-content: center;
    }
}