/* 
Yankees Fan Zone CSS Styles
Modern, responsive design focused on Yankees baseball fan experiences
*/

/* Base Styles and CSS Reset */
:root {
    --primary-color: #003087; /* Yankees blue */
    --secondary-color: #e4002c; /* Yankees red */
    --accent-color: #f1f1f1;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #707070;
    --light-gray: #f5f5f5;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #002260;
    color: var(--light-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: #c00026;
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Header and Navigation */
header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

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

.font-size-toggle button {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.font-size-toggle button:hover {
    background-color: var(--light-gray);
}

.font-size-toggle svg {
    width: 16px;
    height: 16px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 48, 135, 0.85), rgba(0, 48, 135, 0.85)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Section */
.featured {
    padding: 80px 0;
}

.featured h2 {
    text-align: center;
    margin-bottom: 50px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-item h3 {
    padding: 20px 20px 10px;
}

.featured-item p {
    padding: 0 20px 20px;
}

/* Latest Posts Section */
.latest-posts {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.post p {
    padding: 0 20px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.latest-posts .btn {
    display: block;
    width: 200px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    color: var(--light-color);
    margin-bottom: 50px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial .author {
    font-weight: 600;
    text-align: right;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
}

.cta h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.cta .btn-primary:hover {
    background-color: var(--light-gray);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #b3b3b3;
}

.footer-links ul li a:hover {
    color: var(--light-color);
}

.footer-contact p {
    margin-bottom: 10px;
    color: #b3b3b3;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--light-color);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #777;
    font-size: 0.9rem;
}

/* Blog Page Styles */
.blog-content {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--light-color);
}

.blog-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-text {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.blog-card .btn {
    margin-top: 10px;
}

.subscribe {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.subscribe h2 {
    margin-bottom: 15px;
}

.subscribe p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-main);
}

.subscribe-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Contact Page Styles */
.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item svg {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.social-contact h3 {
    margin-bottom: 15px;
}

.contact-form h2 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-section {
    padding: 0 0 60px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Page Styles */
.about-content {
    padding: 60px 0;
}

.about-intro {
    margin-bottom: 60px;
}

.about-flex {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    margin-top: 30px;
}

.about-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
}

.about-text ul li {
    margin-bottom: 10px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.mission-values {
    margin-bottom: 60px;
}

.mission-values h2 {
    text-align: center;
    margin-bottom: 40px;
}

.mission-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mission-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.mission-item .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.team-section > p {
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 20px 20px 5px;
    margin-bottom: 0;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 20px;
}

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 15px 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--primary-color);
    color: white;
}

.btn-cookie.customize {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-cookie.reject {
    background-color: #555;
    color: white;
}

.cookie-more-info {
    font-size: 0.9rem;
    color: #ccc;
    text-decoration: underline;
}

.cookie-more-info:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid, 
    .about-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .featured, 
    .latest-posts, 
    .testimonials, 
    .cta {
        padding: 50px 0;
    }
    
    .blog-image img {
        height: 200px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .subscribe-form button {
        border-radius: var(--border-radius);
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .font-size-toggle {
        margin-top: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .featured-grid, 
    .posts-grid, 
    .team-grid, 
    .mission-flex {
        grid-template-columns: 1fr;
    }
    
    .blog-text {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-container {
        height: 300px;
    }
}
