:root {
    /* Premium Burgundy Palette */
    --primary: #9b1128; /* Pure deep red/burgundy */
    --primary-dark: #630514; /* Deep rich red */
    --primary-light: #c21936;
    --accent: #d4af37; /* Elegant subtle gold */
    
    /* Neutral / Theme Colors */
    --bg-main: #690b1e; /* Deep red-burgundy background */
    --bg-card: #fdfafb; /* Milky white for frames/cards */
    --bg-alt: #570817; /* Darker red-burgundy */
    --bg-dark: #450611; /* Very dark pinkish red */
    
    /* Text Colors */
    --text-main: #fdfafb; /* Light text for burgundy background */
    --text-muted: rgba(253, 250, 251, 0.75);
    --text-light: #ffffff;
    --text-dark: #2b1a1c;
    --text-muted-dark: #5c4e50;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* UI Spacing & Rounding */
    --radius: 4px;
    --radius-lg: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

h1.title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
}

em {
    font-style: italic;
    color: var(--primary);
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

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

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Custom Frame Box */
.content-frame {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    color: var(--text-dark);
}
.content-frame .title, 
.content-frame h1, 
.content-frame h2, 
.content-frame h3,
.content-frame h4 {
    color: var(--primary-dark) !important;
}
.content-frame .description, 
.content-frame p {
    color: var(--text-muted-dark) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(155, 17, 40, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-link {
    background-color: transparent;
    color: var(--bg-card);
    padding: 1rem 0;
    font-weight: 600;
    border-bottom: 1px solid var(--bg-card);
    border-radius: 0;
}

.btn-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateX(5px);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.shadow-hover:hover {
    box-shadow: 0 10px 25px rgba(114, 28, 36, 0.25);
}

/* Header Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background-color: rgba(252, 251, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.logo .dot {
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(155, 17, 40, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    color: var(--primary-dark);
    background-color: transparent;
}

.nav-link:hover {
    border-color: var(--primary-light);
    background-color: rgba(155, 17, 40, 0.05);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(155, 17, 40, 0.08);
    transform: translateY(-2px);
}

.header .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}
.header .btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-card);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    left: 0;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.hero-graphics {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 65%;
    height: 120%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-sphere {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(156, 43, 56, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.watermark-symbol {
    width: 100%;
    height: 100%;
    color: var(--primary);
    opacity: 0.12;
    animation: slow-spin 90s linear infinite;
}

@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero .description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

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

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(114, 28, 36, 0.15);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* Expertise Section */
.expertise {
    padding: 8rem 0;
    background-color: var(--bg-main);
    position: relative;
    z-index: 1;
}

.expertise::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(156, 43, 56, 0.15) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

.expertise .section-title {
    color: var(--text-light);
}

.expertise .section-title em {
    color: var(--accent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.expertise-card {
    background: var(--bg-card); /* Milky inside the frame */
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Delicate gold frame */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
    background: #ffffff; /* pure white glow on hover */
}

.expertise-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(133, 24, 42, 0.08); /* slight burgundy tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.card-desc {
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.cta-section .title {
    color: var(--text-light);
}

.cta-section em {
    color: var(--accent);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content .description {
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
}

.contact-form {
    background: var(--bg-card); /* Milky background */
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--primary-dark) !important;
}
.contact-form p {
    color: var(--text-muted-dark) !important;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(155, 17, 40, 0.03); /* Very subtle primary tint */
    border: 1px solid rgba(155, 17, 40, 0.15);
    border-radius: var(--radius);
    color: var(--text-dark);
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
}

.input-group input::placeholder {
    color: var(--text-muted-dark);
}

/* Footer */
.footer {
    background-color: var(--bg-alt);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted-dark);
    margin-top: 1rem;
    max-width: 300px;
}

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

.footer h4 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.footer-links a, .footer-contact a, .footer-contact p {
    display: block;
    color: var(--text-muted-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-card);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-btn {
        display: none;
    }

    .hero {
        padding: 8rem 0 6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
