/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2E2E2E;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improve link accessibility */
a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid #A6784B;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contact info links */
.contact-info a {
    color: #2E2E2E;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #A6784B;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background: #FFF6E5;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 5%;
    background: rgba(255, 246, 229, 0.98);
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Hamburger Menu - Fixed to Top Left */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #A6784B;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu - Slides from Right */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #FFF6E5;
    padding: 5rem 2rem;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    display: block;
    padding: 1rem 0;
    color: #2E2E2E;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #C19A6B;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #A6784B;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #A6784B;
    padding-left: 20px;
}

.nav-menu a:hover::before {
    width: 15px;
}

/* Hero Carousel */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-color: #FFF6E5;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* About Section */
.about {
    padding: 5rem 10%;
    background: linear-gradient(135deg, #FFF6E5 0%, #f0e6d2 100%);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: #A6784B;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.get-in-touch-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #A6784B 0%, #C19A6B 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(166, 120, 75, 0.3);
    position: relative;
    overflow: hidden;
}

.get-in-touch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.get-in-touch-btn:hover::before {
    left: 100%;
}

.get-in-touch-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(166, 120, 75, 0.5);
}

/* Products Section */
.products {
    padding: 5rem 10%;
    background: white;
}

.products h2 {
    font-size: 2.5rem;
    color: #A6784B;
    text-align: center;
    margin-bottom: 2rem;
}

.product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border: none;
    border-radius: 15px;
    transition: all 0.5s ease;
    background: linear-gradient(135deg, #ffffff 0%, #FFF6E5 100%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #A6784B 0%, #C19A6B 100%);
    transition: width 0.4s ease;
}

.product-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.product-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(193, 154, 107, 0.25);
}

.product-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(166, 120, 75, 0.3);
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    color: #A6784B;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #A6784B 0%, transparent 100%);
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.6rem 0;
    padding-left: 2.2rem;
    position: relative;
    color: #2E2E2E;
    line-height: 1.6;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.product-features li::before {
    content: '✓';
    left: 0;
    top: 0.6rem;
    color: #A6784B;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 0.4rem;
}

.product-features li:hover {
    padding-left: 2.5rem;
    color: #A6784B;
}

.product-features li:hover::before {
    transform: scale(1.3);
}

.know-more-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #A6784B 0%, #C19A6B 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(166, 120, 75, 0.3);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.know-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.know-more-btn:hover::before {
    left: 100%;
}

.know-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(166, 120, 75, 0.4);
    background: linear-gradient(135deg, #C19A6B 0%, #A6784B 100%);
}

/* Why Choose Us */
.why-choose {
    padding: 5rem 10%;
    background: #FFF6E5;
}

.why-choose h2 {
    font-size: 2.5rem;
    color: #A6784B;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 107, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(193, 154, 107, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    color: #A6784B;
    margin-bottom: 1rem;
}

/* Map Section */
.map-section {
    padding: 5rem 10%;
    background: white;
}

.map-section h2 {
    font-size: 2.5rem;
    color: #A6784B;
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.map-container:hover {
    transform: scale(1.02);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
    background: #FFF6E5;
    border-top: 3px solid #C19A6B;
}

.contact h2 {
    font-size: 2.5rem;
    color: #A6784B;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #C19A6B;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #A6784B;
    box-shadow: 0 0 10px rgba(193, 154, 107, 0.3);
    transform: scale(1.02);
}

.contact-form button {
    background: #A6784B;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form button:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form button:hover {
    background: #C19A6B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.4);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(10px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.7);
    }
}

/* Footer */
footer {
    background: #2E2E2E;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about, .products, .why-choose, .map-section, .contact {
        padding: 4rem 7%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 4%;
    }

    .logo-img {
        height: 38px;
        max-width: 150px;
    }

    .hamburger {
        transform: scale(0.9);
    }

    .carousel-caption {
        font-size: 1.8rem;
        padding: 1.5rem;
    }

    .hero {
        height: 450px;
    }

    .product-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .product-image {
        width: 100%;
        height: 200px;
    }

    .product-info h3 {
        font-size: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about, .products, .why-choose, .map-section, .contact {
        padding: 3rem 5%;
    }

    .nav-menu {
        width: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about h2, .products h2, .why-choose h2, .map-section h2, .contact h2 {
        font-size: 2.2rem;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    html{
        overflow-x: hidden !important;
    }

    header {
        padding: 0.8rem 3%;
    }

    .logo-img {
        height: 32px;
        max-width: 130px;
    }

    .hamburger {
        transform: scale(0.85);
    }

    .hamburger span {
        width: 25px;
    }

    .carousel-caption {
        font-size: 1.3rem;
        padding: 1rem;
    }

    .hero {
        height: 350px;
    }

    .about h2, .products h2, .why-choose h2, .map-section h2, .contact h2 {
        font-size: 1.8rem;
    }

    .about p, .contact-info p {
        font-size: 0.95rem;
    }

    .product-card {
        padding: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.3rem;
    }

    .product-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .know-more-btn, .get-in-touch-btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
    }

    .nav-menu {
        width: 250px;
        padding: 4rem 1.5rem;
    }

    .nav-menu a {
        padding: 0.8rem 0;
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .contact-form button {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .map-container {
        height: 300px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 360px) {
    .carousel-caption {
        font-size: 1.1rem;
    }

    .hero {
        height: 300px;
    }

    .product-features li {
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .hamburger,
    .nav-menu,
    .whatsapp-btn,
    .hero,
    .map-container {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;

    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}