/* Custom Styles for MRA Corporate Website */

/* Local Font Definitions */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Inter-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
}

:root {
    --primary-dark: #020C1B;
    --navy-medium: #0A192F;
    --navy-light: #112240;
    --accent: #C5A059;
    --accent-dark: #A68545;
    --text-dark: #1A202C;
    --text-muted: #4A5568;
    --text-light: #CCD6F6;
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 16px;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Section Variants */
.section-dark {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--white);
}

.section-dark .section-title::after {
    background-color: var(--accent);
}

.section-light {
    background-color: var(--white);
    color: var(--text-dark);
}

.section-light h2, .section-light h3, .section-light h4 {
    color: var(--primary-dark);
}

.section-light .section-title::after {
    background-color: var(--accent);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
}

/* Nav Styles */
.nav-link {
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.nav-scrolled .nav-link {
    color: var(--primary-dark) !important;
}

.nav-scrolled .nav-link:hover {
    color: var(--accent) !important;
}

/* Contact Form Custom Styles */
#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
}

#contact input:focus,
#contact textarea:focus {
    border-bottom: 1px solid var(--accent) !important;
}

#contact input[type="checkbox"] {
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.2);
}

#contact button[type="submit"] {
    min-width: 160px;
    letter-spacing: 0.2em;
}

/* Hero Typography Refinement */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

.hero-divider {
    width: 40px;
    height: 1px;
    background-color: var(--accent);
    margin: 2rem auto;
}

.hero-tag-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-tag-btn:hover {
    border-color: var(--accent);
    background-color: rgba(197, 160, 89, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--stone-light);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Glassmorphism */
.glass {
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

/* Form Styles */
input, textarea {
    background: var(--navy-light) !important;
    color: var(--white) !important;
    border: none !important;
    border-bottom: 1px solid var(--navy-light) !important;
}

input:focus, textarea:focus {
    border-bottom: 1px solid var(--ice-blue) !important;
}
