/* Import PT Serif font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

body {
    font-family: 'PT Serif', serif;
    background-color: #f8f8f8; /* Light background matching REAL logo */
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Homepage specific - no scrolling 
body.homepage {
    /*overflow: hidden;
    /*height: 100vh;
}*/

/* Navigation */
.navbar {
    background-color: #f8f8f8;
    border-bottom: 2px solid #c41e3a; /* Red accent */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-tagline {
    color: #000000;
    font-size: 0.8rem;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-left: 1rem;
}

.nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #f8f8f8;
    width: 100%;
    text-align: center;
    transition: top 0.3s ease;
    border-bottom: 2px solid #c41e3a;
    padding: 2rem 0;
    list-style: none;
    z-index: 999;
}

.nav-menu.active {
    top: 80px;
}

.nav-menu li {
    margin: 1rem 0;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #c41e3a;
    border: 1px solid #c41e3a;
}

/* Hamburger menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero section with full-width video */
.hero-section {
    position: relative;
    height: calc(85vh - 80px);
    margin-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero text section underneath video */
.hero-text-section {
    padding: 4rem 2rem;
    background-color: #f8f8f8;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #000000;
    font-weight: 700;
    margin: 0;
}

/* Main content sections */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 3rem 0;
    display: flex;
    align-items: center;
    gap: 4rem;
    border-bottom: 1px solid #e0e0e0;
}

.content-section:nth-child(even) {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-image {
    flex: 1;
    max-width: 500px;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Values section - white background with subtle dividers */
.values-section {
    background-color: #ffffff;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; /* Reduced from 3rem */
}

.value-card {
    text-align: center;
    padding: 1.5rem; /* Reduced from 2rem */
    border-right: 1px solid #e0e0e0;
}

.value-card:last-child {
    border-right: none;
}

.value-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Coming Soon pages */
.coming-soon {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.coming-soon h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 2rem;
}

.coming-soon p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Page styles for Mission Statement */
.page-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #c41e3a;
    border-bottom: 2px solid #c41e3a;
    padding-bottom: 1rem;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Mission statement with image layout */
.mission-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.mission-text {
    flex: 1;
}

.mission-image {
    flex: 0 0 400px;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 1.5rem;
}

/* Mission hero section */
.mission-hero-section {
    padding: 3rem 2rem;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-hero-text p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #c41e3a;
    font-weight: 700;
    margin: 0;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .hero-section {
        height: calc(80vh - 80px);
    }
    
    .hero-text-section {
        padding: 2rem 1rem;
    }
    
    .hero-text p {
        font-size: 1.3rem;
        line-height: 1.7;
    }
    
    .content-section {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .content-section:nth-child(even) {
        flex-direction: column;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1.5rem;
    }
    
    .value-card:last-child {
        border-bottom: none;
    }
    
    .mission-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mission-image {
        flex: none;
        width: 100%;
    }
    
    .coming-soon h1 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .mission-hero-text p {
        font-size: 1.3rem;
    }
}

/* Feedback Form Styles */
.feedback-form {
    max-width: 600px;
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid #161b5c;
    background-color: rgba(245, 245, 245, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #161b5c;
    background-color: #add8e6;
    color: #000000;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d0d0d0;
    background-color: rgba(245, 245, 245, 0.1);
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.submit-btn {
    background-color: #000000;
    color: #add8e6;
    padding: 0.75rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #d0d0d0;
}

.feedback-status {
    margin-top: 1rem;
}

.feedback-status .success {
    color: #90ee90;
    padding: 1rem;
    border: 1px solid #90ee90;
    background-color: rgba(144, 238, 144, 0.1);
}

.feedback-status .error {
    color: #ff6b6b;
    padding: 1rem;
    border: 1px solid #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

.feedback-status .loading {
    color: #000000;
    padding: 1rem;
    border: 1px solid #000000;
    background-color: rgba(250, 250, 250, 0.1);
}

/* Board Photo Styles */
.board-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #161b5c;
}

/* What We Believe section */
.beliefs-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c41e3a;
    text-align: center;
    margin-bottom: 3rem;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.belief-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.belief-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.belief-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.belief-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.belief-content {
    padding: 1.5rem;
}

.belief-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 1rem;
}

.belief-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

/* Responsive design for beliefs section */
@media screen and (max-width: 768px) {
    .beliefs-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .beliefs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .belief-image {
        aspect-ratio: 1 / 1;
    }
    
    .belief-content {
        padding: 1rem;
    }
    
    .belief-content h3 {
        font-size: 1.2rem;
    }
    
    .belief-content p {
        font-size: 0.9rem;
    }
}

/* Hidden element utility class */
.hidden {
    display: none;
} 