/* =========================================
   0. LOCAL FONTS
   ========================================= */
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --gold-start: #B8860B;
    --gold-end: #F4C430;
    --leaf-green: #598e3f;
    --dark-bg: #121212;
    --form-bg: #1e1e1e;
    --white: #ffffff;
    --text-color: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--dark-bg); }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold-text {
    background: linear-gradient(to right, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.center-text { text-align: center; }
.icon-gold { color: var(--gold-start); margin-right: 10px; }

/* =========================================
   2. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.4s;
    border: none;
    cursor: pointer;
}
.btn-gold {
    background: linear-gradient(45deg, var(--gold-start), var(--gold-end));
    color: white;
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
}
.btn-gold:hover { transform: translateY(-3px); }

/* =========================================
   3. HEADER & HAMBURGER
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 80px;
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 45px; }

/* Updated Brand Text Styles */
.brand-titles { display: flex; flex-direction: column; justify-content: center; }
.brand-name { font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; line-height: 1.2; }
.sub-brand { font-size: 0.75rem; color: #555555; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: 0.5px; margin-top: 2px; }

.hamburger { 
    position: fixed; 
    top: 25px; 
    right: 5%;
    cursor: pointer; 
    z-index: 2000; 
    padding: 10px;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--dark-bg);
    transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--gold-start); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--gold-start); }

.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    display: flex;
    justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.5s;
    z-index: 1001;
}
.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-links { list-style: none; text-align: center; }
.menu-links li { margin: 30px 0; }
.menu-link { color: white; font-family: 'Playfair Display'; font-size: 2.5rem; text-decoration: none; }

/* =========================================
   4. SECTIONS (Redesigned About Us)
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-bg.jpg'); 
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: white;
}
.hero h1 { font-size: 3.5rem; color: white; margin-bottom: 20px; }

.section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Professional Stats Row */
.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: 700; font-family: 'Playfair Display'; }
.stat-label { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* Image Frame Effect */
.about-img-wrapper { position: relative; padding-left: 20px; padding-top: 20px; }
.img-frame {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 3px solid var(--gold-start);
    z-index: 0;
    border-radius: 5px;
}
.about-img { 
    width: 100%; 
    border-radius: 5px; 
    position: relative; 
    z-index: 1; 
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1); 
    background: white;
}

.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { margin-bottom: 10px; font-size: 1.05rem; }

.catalogue-section { background-color: #f9f9f9; }

/* UPDATED GRID FOR 4 CATEGORIES */
.catalogue-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    margin: 50px 0; 
}

.product-card { background: white; padding: 15px; text-align: center; transition: 0.3s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.product-placeholder { height: 250px; background-color: #eee; background-size: cover; background-position: center; margin-bottom: 15px; }

/* LINKED CARD STYLES */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.why-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
}
.why-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--gold-start);
}
.why-icon { font-size: 2.5rem; color: var(--gold-start); margin-bottom: 20px; }

/* =========================================
   5. CONTACT & SOCIALS
   ========================================= */
.contact-section { background: var(--dark-bg); color: white; }

.contact-info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.icon-box { font-size: 2rem; color: var(--gold-start); margin-bottom: 15px; }
.info-card h3 { color: white; font-family: 'Lato', sans-serif; font-size: 1.2rem; margin-bottom: 10px; }
.info-card p { color: #ccc; margin-bottom: 5px; font-size: 0.9rem; }
.info-card a { color: white; text-decoration: none; transition: 0.3s; }
.info-card a:hover { color: var(--gold-start); }
.role-text { color: var(--gold-start) !important; font-size: 0.8rem !important; text-transform: uppercase; margin-bottom: 10px !important; }
.gst-text { font-family: monospace; color: var(--gold-start) !important; letter-spacing: 1px; margin-top: 5px; }

/* Form Styles */
.form-wrapper {
    max-width: 600px; margin: 0 auto; background: var(--form-bg);
    padding: 40px; border-radius: 10px; border: 1px solid #333;
}
.enquiry-form { display: grid; gap: 20px; }
.input-group { width: 100%; }
input, textarea {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid #555; padding: 15px 0;
    color: white; outline: none; transition: 0.3s;
}
input:focus, textarea:focus { border-bottom: 1px solid var(--gold-start); }

/* =========================================
   6. LUXURY FOOTER
   ========================================= */
.luxury-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 60px 20px 20px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content { max-width: 800px; margin: 0 auto; }

.footer-brand {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Lato', sans-serif; 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-icon { color: white; font-size: 1.2rem; transition: 0.3s; }
.footer-icon:hover { color: var(--gold-start); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #555;
}

/* Scroll Animations */
.reveal { transform: translateY(50px); opacity: 0; transition: 1s all ease; }
.reveal.active { transform: translateY(0); opacity: 1; }

/* =========================================
   7. GALLERY PAGES (SUB-PAGES)
   ========================================= */
.gallery-header {
    background: var(--dark-bg);
    padding: 80px 0 40px;
    text-align: center;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px;
    padding-top: 40px;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    aspect-ratio: 3/4; 
    object-fit: contain; 
    background: #fdfdfd; 
}

.gallery-caption {
    padding: 15px;
    font-weight: bold;
    color: #333;
    border-top: 1px solid #eee;
    background: white;
    margin-top: auto; 
}

/* =========================================
   8. MOBILE RESPONSIVENESS
   ========================================= */
@media screen and (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    h2.section-title { font-size: 1.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .catalogue-grid, .contact-info-wrapper { grid-template-columns: 1fr; }
    .form-wrapper { padding: 20px; width: 100%; }
    .hamburger { top: 20px; }
    .stats-row { flex-wrap: wrap; justify-content: center; }
    .img-frame { display: none; }
    .about-img-wrapper { padding: 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 15px; } 
}

@media screen and (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; } 
}

/* =========================================
   9. CATEGORY SWITCHER
   ========================================= */
.cat-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cat-btn {
    text-decoration: none;
    color: #555;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #ddd;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cat-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold-start);
    color: var(--gold-start);
}

.cat-btn.active {
    background: linear-gradient(45deg, var(--gold-start), var(--gold-end));
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

@media screen and (max-width: 480px) {
    .cat-switcher { gap: 10px; }
    .cat-btn { padding: 8px 15px; font-size: 0.75rem; }
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
    letter-spacing: 0.5px;
}

.developer-credit a {
    color: var(--gold-start);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.developer-credit a:hover {
    color: var(--white);
    text-shadow: 0 0 8px rgba(184, 134, 11, 0.5); 
}

/* =========================================
   10. FLOATING CONTACT BUTTONS
   ========================================= */
.floating-contact-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: white; /* Makes the SVG icons crisp white */
}

.float-btn:hover {
    transform: translateY(-5px); /* Smooth hover lift */
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
    color: white; 
}

.float-btn svg {
    width: 30px; /* Perfect sizing inside the circle */
    height: 30px;
}

/* Official Brand Colors */
.whatsapp-btn {
    background-color: #25D366; 
}

.call-btn {
    background-color: #007BFF; /* Standard professional blue */
}

/* Adjust floating buttons size for mobile */
@media screen and (max-width: 768px) {
    .float-btn {
        width: 50px;
        height: 50px;
    }
    .float-btn svg {
        width: 25px;
        height: 25px;
    }
}
