/* ==========================================
   Andre Verdun - Personal Website
   Clean, modern, premium design
   ========================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --accent: #c9a84c;
    --accent-light: #e8d5a0;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --section-alt: #f0efe9;
    --dark-bg: #16213e;
    --dark-accent: #0f3460;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   Navigation
   ========================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    padding: 1.5rem 0;
}

#navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 0 2rem;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: fadeInUp 1s ease;
}

.hero-handwritten {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
    animation: fadeInUp 1s ease 0.15s both;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 2rem auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--primary);
}

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

/* ==========================================
   Sections - General
   ========================================== */
.section {
    padding: 7rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e8e6e1 0%, #d4d0c8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

.about-text .lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text);
    font-size: 1.05rem;
}

/* ==========================================
   Wrestling Section
   ========================================== */
.wrestling {
    background: var(--off-white);
}

.wrestling-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.wrestling-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wrestling-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.wrestling-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.wrestling-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   Law Section
   ========================================== */
.law {
    background: var(--white);
}

.law-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.law-text .lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.law-text p {
    margin-bottom: 1.2rem;
    color: var(--text);
    font-size: 1.05rem;
}

/* ==========================================
   Teaching Section
   ========================================== */
.teaching {
    background: var(--dark-bg);
    color: var(--white);
}

.teaching .section-title {
    color: var(--white);
}

.teaching-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.teaching-text h3 {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.teaching-text .lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.teaching-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.teaching .image-placeholder {
    background: linear-gradient(135deg, #1e2a4a 0%, #2a3a5c 100%);
    color: rgba(255,255,255,0.5);
}

.teaching .image-placeholder::before {
    border-color: rgba(201, 168, 76, 0.2);
}

/* ==========================================
   Passions Section
   ========================================== */
.passions {
    background: var(--off-white);
}

.passions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.passion-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.passion-card:hover {
    transform: translateY(-5px);
}

.passion-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.passion-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.passion-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.contact .section-title {
    color: var(--white);
}

.contact-intro {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 2rem auto 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s;
    border-radius: 4px;
}

.contact-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-icon {
    font-size: 1.2rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: #0d0d1a;
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.85rem;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 968px) {
    .about-grid,
    .law-content,
    .teaching-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .wrestling-grid,
    .passions-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 5rem 0;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .law-image,
    .teaching-image {
        max-width: 400px;
        margin: 0 auto;
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-name {
        letter-spacing: 2px;
    }

    .hero-tagline {
        letter-spacing: 3px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ==========================================
   Scroll Animations
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
