@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #B25D23; /* Vibrant Rich Spice */
    --primary-dark: #823E12;
    --secondary: #13241B; /* Deep luxury green/black */
    --accent: #D4AF37; /* Metallic premium gold */
    --dark: #0A0F0D;
    --light: #FDFBF7; /* Silk warm off-white */
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-main: #2A2F2C;
    --text-muted: #5E6962;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 20px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(178, 93, 35, 0.03) 2px, transparent 2px);
    background-size: 60px 60px; /* Subtle premium dot pattern */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

/* Navbar */
header {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Base structural sections */
.page-header {
    padding: 220px 2rem 140px;
    background-color: var(--secondary);
    color: var(--light);
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.page-header h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

section {
    padding: 8rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.bg-white {
    background-color: var(--white);
    border-radius: 40px;
    margin: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(178, 93, 35, 0.25);
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    box-shadow: 0 20px 40px rgba(178, 93, 35, 0.4);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

/* Floating Mobile Action Buttons */
.mobile-fab-container {
    display: none; 
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    flex-direction: column;
    gap: 15px;
}

.fab {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.fab.whatsapp { background-color: #25D366; }
.fab.phone { background-color: var(--primary); }

.fab:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(19,36,27,0.3) 0%, rgba(19,36,27,0.85) 100%);
    border-radius: inherit;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 5.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    font-weight: 300;
    text-wrap: balance;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Titles */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 5rem;
    color: var(--white);
    text-align: center;
    transform: translateY(-80px);
    box-shadow: 0 30px 60px rgba(178, 93, 35, 0.3);
    margin-bottom: -30px;
    position: relative;
    overflow: hidden;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item h3 {
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
}

/* Split Grids */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.content-grid.reverse .image-container { order: 2; }
.content-grid.reverse .content-container { order: 1; }

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-container:hover img {
    transform: scale(1.08);
}

.content-container h4 {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.content-container h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.content-container p {
    margin-bottom: 1.8rem;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.service-card {
    text-align: left;
    padding: 4.5rem 3.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    display: inline-block;
    padding: 1.2rem;
    background: rgba(178, 93, 35, 0.08);
    border-radius: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    color: var(--dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.product-image {
    height: 320px;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.8s ease;
}

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

.product-info {
    padding: 3rem 2.5rem;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Gallery Grid Strict Alignment */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* FORCES 3 EXACT COLUMNS */
    grid-auto-rows: 350px; /* FORCES EXACT HEIGHT */
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    height: 100%;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESSENTIAL FOR NON-STRETCHED PERFECT ALIGNMENT */
    transition: transform 0.8s ease;
    border-radius: var(--border-radius);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(19, 36, 27, 0.9) 0%, rgba(19, 36, 27, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.gallery-overlay span {
    color: var(--light);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 5rem auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(178, 93, 35, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--accent);
    border: 4px solid var(--light);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(178, 93, 35, 0.2);
}

.timeline-left { left: 0; }
.timeline-right { left: 50%; }
.timeline-right::after { left: -12px; }

.timeline-content {
    padding: 3rem;
    background-color: var(--white);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.timeline-year {
    font-size: 2.5rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    background: var(--white);
    padding: 5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 80px rgba(0,0,0,0.05);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(178, 93, 35, 0.08);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1.4rem;
    border: 2px solid #EAEAEA;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
    background-color: #F9F9F9;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--light);
    padding: 7rem 2rem 2rem;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: 4rem;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-logo {
    color: var(--accent); 
}

/* Responsive Overhaul for Mobile Optmization */
@media (max-width: 1024px) {
    .page-header { padding: 180px 2rem 100px; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;}
    .hero h1 { font-size: 4rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .timeline::after { left: 40px; }
    .timeline-item { width: 100%; padding-left: 90px; padding-right: 15px; }
    .timeline-item::after { left: 28px; }
    .timeline-right { left: 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .content-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 4rem; }
    .content-grid.reverse .image-container { order: 1; }
    .content-grid.reverse .content-container { order: 2; }
    .nav-links { display: none; }
    .hero h1 { font-size: 3.5rem; line-height: 1.1; }
    .hero { border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; }
    .stats-grid { 
        grid-template-columns: 1fr 1fr; 
        transform: translateY(0); 
        margin-top: 3rem; 
        padding: 3rem;
    }
    .bg-white { margin: 1rem; border-radius: 30px; }
    section { padding: 5rem 1rem; }
    .contact-wrapper { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-content { margin-top: 50px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .hero p { font-size: 1.1rem; margin-bottom: 2rem; }
    .stats-grid { grid-template-columns: 1fr; padding: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; text-align: left; }
    .page-header h1 { font-size: 3rem; }
    .section-title h2 { font-size: 2.5rem; }
    .btn { width: 100%; display: block; padding: 1.2rem; }
    .mobile-fab-container { display: flex; }
    .products-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .timeline-content { padding: 2rem; }
}
