@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Graff Inspired Palette */
    --bg-body: #FFFFFF;
    --bg-section: #F9F9F9;
    /* Softer gray */
    --bg-dark: #01295c;
    /* Graff Navy */

    --text-main: #000000;
    /* Pure Luxury Black */
    --text-muted: #666666;
    --text-light: #999999;
    --text-white: #FFFFFF;

    /* Luxury Accents */
    --gold: #897358;
    /* Graff Bronze-Gold */
    --gold-hover: #756247;
    --border-light: #EEEEEE;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --container-width: 1300px;
    /* Optimal readability width */
    --header-height: 90px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    /* Custom Gold Arrow Cursor - Reduced Size */
    cursor: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M2 2 L2 18 L6.5 13.5 L11 22 L13 21 L8.5 12.5 L14 12.5 Z" fill="%23897358" stroke="white" stroke-width="1"/></svg>'), auto;
    color: var(--text-main);
    line-height: 1.8;
    /* Increased for readability */
    background-color: var(--bg-body);
    font-weight: 300;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 500;
    letter-spacing: 0.02em;
    /* Slightly open for elegance */
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    /* Reduced max from 4rem to 3rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    /* Reduced max from 2.5rem */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    /* Increased padding */
}

.text-center {
    text-align: center;
}

/* Section Title Wrapper */
.section-title {
    text-align: center;
    padding: 80px 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title h1 {
    margin-bottom: 20px;
}

/* Global Section Padding used on all pages */
.section-padding {
    padding: 120px 0;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    /* Wider padding */
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    background: transparent;
    min-width: 180px;
}

.btn-primary {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.btn-primary:hover {
    background: white;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary {
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: white;
}

.btn-whatsapp {
    background: var(--gold);
    color: white;
    border-radius: 50px;
    border: none;
    font-size: 0.75rem;
    padding: 14px 28px;
    letter-spacing: 0.1em;
}

.btn-whatsapp:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 115, 88, 0.3);
}

.btn-whatsapp-pill {
    background: var(--gold);
    color: white;
    border-radius: 50px;
    border: none;
    font-size: 0.9rem;
    padding: 18px 36px;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp-pill:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(137, 115, 88, 0.4);
}

/* Header - Transparent & Modern */
/* Top Bar - Graff Style */
.top-bar {
    background-color: var(--gold);
    color: white;
    padding: 10px 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1002;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.top-bar a {
    color: white;
    margin-left: 20px;
}

.top-bar span {
    margin-right: 20px;
}

/* Header - Transparent & Modern */
.site-header {
    position: sticky;
    /* Changed from fixed to sticky to allow top bar to sit above */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    /* Remove padding as top bar adds height */
    transition: all 0.3s ease;
    background: #FFFFFF;
    /* Force white to match logo background */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    /* Subtle shadow */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    /* Increased from 70px */
}

.logo img {
    height: 80px;
    /* Increased from 55px */
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    /* Prevent logo from squishing */
}

.main-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    /* remove any bullets */
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    /* Sligthly smaller, more elegant */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Support */
.main-nav ul li {
    position: relative;
}

.main-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
    z-index: 1001;
    /* border-top: 2px solid var(--gold); Removed to fix double-line issue */
    align-items: flex-start;
}

.main-nav li:hover>ul {
    display: flex;
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    padding: 12px 20px;
    font-size: 0.75rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.main-nav ul ul a::after {
    display: none;
}

.main-nav ul ul a:hover {
    background: #f9f9f9;
    color: var(--gold);
    padding-left: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    /* HIDDEN BY DEFAULT on Desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}


.header-contact a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.header-contact i {
    color: var(--text-main);
    /* No green */
    margin-right: 8px;
}

/* Split Hero Layout */
.hero-section.split-hero {
    display: flex;
    height: 100vh;
    padding: 0;
    margin-top: 0;
    position: relative;
}

.hero-left {
    flex: 0 0 33.33%;
    position: relative;
    overflow: hidden;
    background: black;
}

.hero-video-split {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-right {
    flex: 1;
    position: relative;
    background: #FFFFFF;
    /* White background as requested */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-main);
    /* Default text color */
    max-width: 800px;
    padding: 40px;
    animation: fadeIn 1.5s ease;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section.split-hero {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        flex: 0 0 50%;
        height: 50vh;
        width: 100%;
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gold);
    /* Theme Brown/Gold Text */
    text-shadow: none;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    /* Using muted for better readability than pure gold on white, or acceptable as "brown-ish" */
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* Remove WhatsApp glue */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-buttons .btn {
    min-width: 200px;
}

.hero-buttons .btn-primary {
    background: var(--gold);
    /* Theme Brown/Gold Button */
    color: white;
    border-color: var(--gold);
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

/* Stats Bar - Minimal */
.stats-bar {
    border-bottom: 1px solid var(--border-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

/* Cards - Floating & Clean */
/* Utilities - Extended */
.bg-cream {
    background-color: #F8F5F2;
}

/* Soft warm cream for luxury feel */



/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}


.shape-card,
.product-card {
    background: white;
    padding: 50px 30px;
    /* More vertical padding */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Apple-style easing */
    height: 100%;
    /* Ensure cards fill grid height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f5f5f5;
    /* Subtle border */
}

.shape-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    /* Softer, larger shadow */
    border-color: transparent;
}

.shape-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.shape-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.05);
    /* Make diamonds pop slightly */
}

.shape-card h3,
.product-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: 600;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.shape-card .btn-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}

/* Footer - Dark Luxury */
/* Footer - Dark Luxury */
.site-footer {
    background-color: #FFFFFF;
    color: var(--text-muted);
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.footer-col i {
    color: var(--gold);
    margin-right: 12px;
    min-width: 20px;
    margin-top: 3px;
    /* visual alignment with text */
}

.footer-col a {
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* Education Teaser Fix */
.education-teaser-content h2 {
    font-size: 1.6rem !important;
    /* Force smaller size */
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

.education-box {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/300565228_468576528611496_2289587853940246218_n.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 4px;
}

.education-box h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.education-box p {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Refined Card Buttons */
.product-card .btn {
    padding: 10px 20px;
    font-size: 0.75rem;
    min-width: auto;
    /* Remove fixed width */
    /* Remove fixed width */
    margin-top: auto;
    /* Push to bottom */
    border: 1px solid var(--text-main);
    letter-spacing: 0.1em;
}

.product-card .btn:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: all 0.3s ease;
    animation: bounceIn 1s ease;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(137, 115, 88, 0.4);
    background-color: var(--gold-hover);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}


/* Responsive */
/* Switch to mobile menu earlier to avoid breaking layout on tablets/small laptops */
@media (max-width: 1100px) {
    .header-contact {
        display: none;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #f0f0f0;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
    }

    .container {
        padding: 0 20px;
        /* Reduce padding on mobile */
    }

    .hero-buttons {
        flex-wrap: wrap;
        /* Ensure buttons stack on small screens */
    }

    .main-nav.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;

        /* Footer Responsive */
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }
    }

    .main-nav a {
        display: block;
        padding: 15px 40px;
        border-bottom: 1px solid #f9f9f9;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Adjust grid for mobile */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Responsive Fixes - Global Mobile Stack */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
        width: 95%;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Fix Top Bar for Mobile - Grid Alignment */
    .top-bar .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px 10px;
        padding: 5px 20px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        display: contents;
        /* Flattens the hierarchy to let children sit on the grid */
    }

    .top-bar span,
    .top-bar a {
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-col li {
        justify-content: center;
    }

    .footer-col h4 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Decrease hero font size more for mobile */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-title h1 {
        font-size: 1.8rem;
    }

    /* Move WhatsApp button up on mobile to avoid browser chrome/cutoffs */
    .floating-whatsapp-btn {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Further reduction for very small screens */
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* New Responsive Utilities */

/* Responsive 2-column list (e.g., in Education Teaser) */
.list-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .list-grid-2 {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
    }
}

/* Shape Detail Block (for shapes.html) */
.shape-detail-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    align-items: center;
}

.shape-detail-block.reverse {
    flex-direction: row-reverse;
}

.shape-detail-block .image-col {
    flex: 1;
}

.shape-detail-block .content-col {
    flex: 2;
}

@media (max-width: 768px) {

    .shape-detail-block,
    .shape-detail-block.reverse {
        flex-direction: column !important;
        /* Force vertical stacking */
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .shape-detail-block .image-col img {
        max-height: 150px;
        /* Limit image height on mobile */
        margin: 0 auto;
    }

    .shape-detail-block h2 {
        font-size: 1.5rem;
    }
}

/* Contact Page Enhancements */
.contact-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
    /* Match height if used in grid */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.contact-info-item h3 i {
    width: 30px;
    /* Fixed width for icon alignment */
    color: var(--gold);
    margin-right: 10px;
}

.contact-info-item p {
    margin-left: 40px;
    /* Indent text to align with icon start */
    margin-bottom: 0;
    color: var(--text-muted);
}