@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #ff0026;
    --dark-red: #c4001d;
    --primary-blue: #2f5aae;
    --dark-bg: #111111;
    --light-bg: #f4f7f6;
    --text-color: #333;
    --card-bg: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-color);
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

main {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    font-family: var(--font-heading);
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav a:hover {
    color: var(--primary-red);
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(40, 0, 10, 0.5)), url('../images/hero.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.hero-overlay {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle glass */
    padding: 60px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0 auto;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Content Section */
.content {
    background-color: var(--card-bg);
    padding: 70px 60px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 16px;
    margin: 0 auto 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.hero-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gavin-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 6px solid #fff;
    transition: transform 0.4s ease;
}

.gavin-image:hover {
    transform: scale(1.03);
}

.text-content {
    width: 100%;
    color: #4a4a4a;
}

.text-content p, .text-content ul {
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 300; /* Lighter body weight */
}

.text-content h2 {
    color: var(--primary-red);
    margin: 50px 0 25px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.text-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.text-content ul {
    padding-left: 20px;
}

.text-content li {
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
}

/* Custom bullet points */
.text-content ul {
    list-style: none;
}

.text-content li::before {
    content: '•';
    color: var(--primary-red);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 1.2em;
}

.text-content a {
    color: var(--primary-blue);
    text-decoration: none;
    background-image: linear-gradient(transparent 90%, rgba(47, 90, 174, 0.2) 90%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
    font-weight: 600;
}

.text-content a:hover {
    color: #1a3c7e;
    background-image: linear-gradient(transparent 60%, rgba(47, 90, 174, 0.3) 60%);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #888;
    text-align: center;
    padding: 50px 0;
    margin-top: auto;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-top: 5px solid var(--primary-red);
}

.footer p {
    margin: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav a {
        font-size: 0.9rem;
    }

    .hero {
        height: auto;
        min-height: 300px;
        padding: 40px 0;
    }

    .hero-overlay {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content {
        padding: 40px 20px;
        margin: 20px 0;
    }

    .hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        margin-bottom: 20px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-overlay {
        padding: 30px;
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content {
        padding: 40px 25px;
        margin: 30px 0;
    }

    .text-content h2 {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
    
    .text-content p, .text-content ul {
        font-size: 1.1rem;
    }

    .hero-image {
        margin-bottom: 30px;
    }
    
    .footer {
        padding: 30px 0;
    }
}
