/* CSS Custom Properties for elegant theme */
:root {
    --primary-dark: #111A2C; /* Dark blue as requested */
    --accent-gold: #C5A059; /* Elegant gold accent */
    --accent-gold-light: rgba(197, 160, 89, 0.1);
    --bg-light: #EEEFF3;
    --text-main: #2C3539;
    --text-muted: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Base Styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image:
        radial-gradient(circle at 50% 0%, #f4f5f8 0%, transparent 70%),
        radial-gradient(circle at 50% 100%, #e0e3ea 0%, #d4d8e2 100%);
    background-attachment: fixed;
}

/* Background Animated Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 25s infinite alternate ease-in-out;
    pointer-events: none;
}

.shape-1 {
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: rgba(197, 160, 89, 0.15); /* Gold hue */
    top: -10%;
    left: -10%;
}

.shape-2 {
    width: 50vw;
    height: 50vw;
    max-width: 500px;
    max-height: 500px;
    background: rgba(17, 26, 44, 0.08); /* Dark blue hue */
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 30s;
}

/* Layout Wrapper */
.landing-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-content {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.brand-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0px 8px 16px rgba(17, 26, 44, 0.1));
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-logo:hover {
    transform: translateY(-5px) scale(1.02);
}

h1 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 34px;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 18px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    font-weight: 500;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 1.5rem auto;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(17, 26, 44, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Accent Line */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-dark);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(17, 26, 44, 0.08);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(197, 160, 89, 0.3);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent-gold-light);
    transition: all 0.5s ease;
}

.contact-card:hover .contact-icon {
    background: var(--primary-dark);
    color: #ffffff;
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(17, 26, 44, 0.15);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.contact-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-main);
    font-size: 1rem;
    flex-grow: 1;
}

.contact-card a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.card-link {
    margin-top: 1rem;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
}

.contact-card:hover .card-link {
    border-bottom: 1px solid var(--accent-gold);
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.contact-card:hover .card-link i.fa-arrow-right {
    transform: translateX(5px);
}

/* Footer */
.site-footer {
    margin-top: 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(17, 26, 44, 0.1);
    padding-top: 1.5rem;
    width: 100%;
}

.site-footer p {
    font-size: 0.85rem;
    color: #999;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(60px, 40px) scale(1.1) rotate(10deg); }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInLogo {
    from {
        opacity: 0;
        transform: scale(0.85);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes drawLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Reveal Classes */
.reveal-logo {
    opacity: 0;
    animation: scaleInLogo 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-text {
    opacity: 0;
    animation: fadeInSlideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-scale {
    width: 0;
    opacity: 0;
    animation: drawLine 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-up {
    opacity: 0;
    animation: fadeInSlideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.7s; }
.delay-4 { animation-delay: 0.9s; }
.delay-5 { animation-delay: 1.2s; }

/* Responsive adjustments */
@media screen and (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }
    .contact-section {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 600px) {
    .landing-wrapper {
        padding: 2rem 1.5rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .contact-section {
        max-width: 100%;
        gap: 1rem;
    }
    .contact-card {
        padding: 1.5rem 1.2rem;
    }
}
