:root{
    --accent-spice:#D2691E;
    --text-main:#2A2A2A;
    --white:#FFFFFF;
    --soft-cream: #F9F7F2; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo a{
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span{
    color: var(--accent-spice);
    font-weight: 400;
    font-style: normal;
    margin-left: 2px;
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li a{
    font-family: 'Inter', serif;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    cursor: pointer;
}

.nav-links li a:hover {
    color: var(--accent-spice);
}

.nav-cta{
    border: 1.5px solid var(--accent-spice);
    padding: 12px 24px !important;
    color: var(--accent-spice) !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover{
    background-color: var(--accent-spice);
    color: var(--white) !important;
}

.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Background Media Container */
.hero-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind the text */
    background-color: #000;
}

/* .hero-media{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    Media covers the area without stretching 
} */

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    /* This tells the browser to prioritize this layer for the GPU */
    will-change: opacity; 
    animation: slideShow 12s infinite;
}

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 4s; }
.slide-3 { animation-delay: 8s; }

@keyframes slideShow {
    0% {opacity: 0;}
    10% { opacity: 1; transform: scale(1.1);}  /* Fade in */
    33% { opacity: 1; }  /* Stay visible */
    43% { opacity: 0; }  /* Fade out */
    100% { opacity: 0; } /* Stay hidden until next cycle */
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content h1{
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .italic{
    color: var(--accent-spice);
    font-style: italic;
}

.hero-content p{
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-btn{
   display: flex;
   justify-content: center;
}

.btn{
    padding: 15px 35px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 2px;
    cursor: pointer;
}

.btn-primary{
    background-color: var(--accent-spice);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.about-section{
    padding: 100px 10%;
    background-color: var(--white);
}

.about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image{
    position: relative;
    padding: 20px;
}

.about-image img{
    width: 100%;
    height: auto;
    display: block;
    z-index: 2;
    position: relative;
    box-shadow: 15px 15px 0px var(--soft-cream);
}

.image-accent{
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 90%;
    border: 2px solid var(--accent-spice);
    z-index: 1;
}

.subtitle{
    display: block;
    color: var(--accent-spice);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-content h2{
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-main);
    line-height: 1.2;
}

.about-content p{
    font-family: 'Inter', sans-serif;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-text{
   text-decoration: none;
   color: var(--text-main);
   font-weight: 700;
   font-size: 0.9rem;
   text-transform: uppercase;
   transition: 0.3s;
   border-bottom: 2px solid var(--accent-spice);
   padding-bottom: 5px;
}

.btn-text:hover {
    color: var(--accent-spice);
    padding-left: 10px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack columns on top of each other */
        gap: 40px;
    }
    .about-content {
        text-align: center;
    }
}

.services-diagonal {
    padding: 120px 0;
    background-color: var(--soft-cream);
    overflow: hidden; 
}

.diagonal-wrapper {
    transform: skewY(-7deg); 
}

.services-diagonal .section-header, .floating-cards {
    transform: skewY(7deg);
}

.services-diagonal .section-header{
    text-align: center;
    margin-bottom: 60px;
}

.italic{
    color: var(--accent-spice);
    font-style: italic;
}

.floating-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 100px 10%;
    margin-top: -50px;
}

.spice-card {
    width: 300px;
    height: 450px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Staggered Vertical Alignment */
.card-1 { transform: translateY(-40px); }
.card-2 { transform: translateY(40px); }
.card-3 { transform: translateY(-20px); }

.card-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}

.card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Overlay Text Styling */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(42, 42, 42, 0.9));
    width: 100%;
    color: var(--white);
}

.card-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Interaction: The "Pop" */
.spice-card:hover {
    transform: translateY(0) scale(1.05) !important;
    z-index: 10;
}

.spice-card:hover img {
    transform: scale(1.1);
}

.portfolio-section{
    padding: 100px 10%;
    background-color: var(--white);
}

.portfolio-section .section-header{
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-item{
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: var(--soft-cream);
}

.portfolio-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05); 
}

.project-cat{
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-spice);
    display: block;
    margin-bottom: 5px;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

.contact-section{
    padding: 100px 10%;
    background-color: var(--soft-cream);
}

.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.contact-info h2{
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-details{
    list-style: none;
    margin-top: 40px;
}

.contact-details li {
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-bottom: 1px solid var(--accent-spice);
}

/* Container for positioning the arrow */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper select {
    appearance: none; /* Removes default OS arrow (Chrome/Safari) */
    -webkit-appearance: none;
    -moz-appearance: none;
    
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
}

/* The Custom Arrow */
.custom-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-color: var(--accent-spice);
    /* Creates a small triangle using clip-path (Very GPU efficient) */
    clip-path: polygon(100% 0%, 0% 0%, 50% 100%);
    pointer-events: none; /* Allows clicks to pass through to the select */
    transition: transform 0.3s ease;
}

/* Hover & Focus Effects */
.custom-select-wrapper select:focus {
    border-bottom: 1px solid var(--accent-spice);
}

/* Aesthetic tweak for the dropdown options */
.custom-select-wrapper select option {
    background-color: var(--white);
    color: var(--text-main);
    padding: 10px;
}

/* Footer Styling */
.main-footer {
    padding: 60px 10% 30px;
    background-color: var(--text-main);
    color: var(--white);
    text-align: center;
}

.footer-logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-spice);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 40px;
}

/* --- Mobile Responsiveness Patch (Tablet & Mobile) --- */
@media (max-width: 992px) {
    /* Navbar: Space links closer for tablets */
    .nav-links { gap: 20px; }
    
    /* Services: Reduce card size for tablets */
    .spice-card { width: 250px; height: 380px; }
}

@media (max-width: 768px) {
    /* 1. Header/Navigation */
    .navbar {
        padding: 15px 5%;
        flex-direction: column; /* Stack logo and nav for very small screens if needed */
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li a { font-size: 0.8rem; }

    /* 2. Hero Section */
    .hero { height: 80vh; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1rem; padding: 0 10%; }
    .hero-btn { flex-direction: column; gap: 15px; align-items: center; }

    /* 3. About Section (Updated from your existing code) */
    .about-section { padding: 60px 5%; }
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .about-content { text-align: center; }
    .about-content h2 { font-size: 2.2rem; }

    /* 4. Services Diagonal (The Innovation Fix) */
    .services-diagonal { padding: 80px 0; }
    .diagonal-wrapper, .services-diagonal .section-header, .floating-cards {
        transform: none; /* Remove skew on mobile for better scrolling performance */
    }
    .floating-cards {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 0;
        padding: 40px 5%;
    }
    .spice-card {
        width: 100%; /* Full width cards on mobile */
        max-width: 350px;
        height: 400px;
        transform: none !important; /* Remove staggered offsets */
    }

    /* 5. Portfolio Section */
    .portfolio-section { padding: 60px 5%; }
    .portfolio-grid { 
        grid-template-columns: 1fr; /* Stack images */
        gap: 20px;
    }
    .portfolio-overlay { opacity: 1; padding: 20px; } /* Always show info on mobile */

    /* 6. Contact Section */
    .contact-section { padding: 60px 5%; }
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
    }
    .contact-info { text-align: center; }
    .contact-info h2 { font-size: 2.5rem; }
    .contact-details { margin-top: 20px; }

    /* 7. Footer */
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}








