/* gateway-clean.css - Optimized Mobile-First CSS for Washington Commanders Gateway */

/* CSS Custom Properties for consistent theming */
:root {
    --color-primary: #ffb612;
    --color-secondary: #5a1414;
    --color-accent: #990000;
    --color-dark: #231f20;
    --color-black: #000000;
    --color-white: #ffffff;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Oswald', 'Arial Black', 'Segoe UI Bold', 'Roboto Condensed', 'Impact', sans-serif;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 10px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-md: 0 6px 16px rgba(0,0,0,0.4);
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    --text-shadow-lg: 3px 3px 6px rgba(0,0,0,0.9);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Common Button Styles */
.custom-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-secondary);
    transition: var(--transition);
    text-align: center;
}

.custom-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255,182,18,0.5);
}

.hero-btn {
    padding: 15px 30px;
    font-size: 1rem;
}

.read-more-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Hero Sections */
.hero-section,
.hero-section2 {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-white);
    border-radius: var(--border-radius-lg);
    margin: 10px 0 20px 0;
    padding: 80px 20px 60px;
}

.hero-section {
    background-image: linear-gradient(to right, rgba(90, 20, 20, 0.25), rgba(90, 20, 20, 0.85)), url("/images/hero-background.webp");
    margin-bottom: 40px;
}

.hero-section2 {
    background-image: url("/images/super-bowl-BW.webp");
    overflow: hidden;
    transition: background-position 0.5s ease;
    padding: 100px 20px 50px;
}

.hero-heading,
.superbowl-heading {
    font-family: var(--font-display);
    margin: 0 0 20px 0;
    text-shadow: var(--text-shadow);
    font-weight: bold;
}

.hero-heading {
    font-size: 2rem;
}

.superbowl-heading {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
}

.hero-description,
.superbowl-description {
    font-size: 1.1rem;
    margin: 0 auto 30px auto;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.superbowl-description {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 50px;
}

.superbowl-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    min-height: 50px;
}

/* Article Cards */
.latest-article-card {
    display: flex;
    flex-direction: column;
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #5a1414;
}

.latest-article-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.latest-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-article-content {
    padding: 30px;
    color: var(--color-white);
}

.latest-article-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.latest-article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* News Section */
.news-section-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0 20px 0;
}

.news-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-icon {
    width: 40px;
    height: 30px;
    vertical-align: middle;
}

.news-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-white);
}

.news-fill-line {
    display: none;
    flex-grow: 1;
    height: 2px;
    background-color: var(--color-primary);
}

.see-all-button {
    display: inline-block;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
    border: 2px solid var(--color-primary);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    align-self: flex-start;
}

.see-all-button:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

.latest-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.latest-news-item {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--color-accent);
}

.latest-news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-headline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.news-headline a {
    color: var(--color-primary);
    text-decoration: none;
}

.news-headline a:hover {
    text-decoration: underline;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Description Sections */
.latest-news-description {
    background-color: var(--color-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.6;
    margin: 40px 0;
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.hogs-description {
    background-color: var(--color-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.4;
    margin: 20px 0;
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

/* Grid Sections (Hogs & Team History) */
.thehogs-grid-wrapper,
.teamhistory-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0 40px 0;
}

.thehogs-grid-box,
.teamhistory-box {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-black);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
box-shadow: 0 2px 8px rgba(255, 182, 18, 0.2);
}

.teamhistory-box {
    aspect-ratio: 2 / 2.25;
}

.thehogs-grid-box:hover,
.teamhistory-box:hover {
    transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(255, 182, 18, 0.4);
}

.thehogs-box-bg,
.teamhistory-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    transition: filter 0.3s ease;

}

.teamhistory-bg {
    background-position: top center;
}

.thehogs-box-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    border-radius: var(--border-radius-lg);
}

.thehogs-box-overlay,
.teamhistory-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--color-white);
    text-align: center;
    z-index: 2;
    transition: transform 0.3s ease;
    font-family: var(--font-display);
}

.teamhistory-overlay {
    bottom: 30px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thehogs-subtitle,
.teamhistory-small {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    text-shadow: var(--text-shadow);
}

.teamhistory-small {
    font-size: 1rem;
    margin: 0;
}

.thehogs-title,
.teamhistory-big {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    color: var(--color-primary);
    line-height: 1.1;
    font-weight: bold;
    text-shadow: var(--text-shadow-lg);
}

.teamhistory-big {
    font-size: 2.5rem;
    margin: 1px 0;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    opacity: 0.9;
    border: none;
    font-family: var(--font-primary);
}

.hero-button:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
    color: var(--color-primary);
}

.teamhistory-box .hero-button {
    display: block;
    margin: 15px auto 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.teamhistory-box:hover .teamhistory-bg {
    filter: grayscale(0%);
}

.teamhistory-box:hover .teamhistory-overlay {
    transform: translateY(-20px);
}

.teamhistory-box:hover .hero-button {
    opacity: 1;
    transform: translateY(0);
}

/* Hogs Profiles Section */
.hogs-profiles-section {
    padding: 20px 0;
}

.hogs-profiles-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-align: center;
}

.hogs-profiles-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.hogs-profiles-buttons .custom-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
    max-width: 200px;
    padding: 12px 8px;
    font-size: 0.9rem;
}

.hogs-content-hub {
    text-align: center;
    padding: 20px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.hogs-content-hub a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.hogs-content-hub a:hover {
    text-decoration: underline;
}

/* Tablet Styles (768px and up) */
@media screen and (min-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .latest-article-card {
        flex-direction: row;
        align-items: stretch;
    }
    
    .latest-article-image {
        width: 40%;
        height: auto;
    }
    
    .latest-article-content {
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .latest-article-title {
        font-size: 2rem;
    }
    
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-section-header {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .news-fill-line {
        display: block;
    }
    
    .see-all-button {
        align-self: auto;
    }
    
    .thehogs-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thehogs-title {
        font-size: 2.2rem;
    }
    
    .hogs-profiles-section h3 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .hogs-profiles-buttons {
        justify-content: flex-start;
    }
    
    .hogs-profiles-buttons .custom-btn {
        flex: 0 1 auto;
        min-width: 140px;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .hogs-content-hub {
        text-align: left;
        font-size: 1.1rem;
    }
    
    .superbowl-heading {
        font-size: 3rem;
    }
    
    .superbowl-description {
        font-size: 1.2rem;
    }
    
    .superbowl-buttons .custom-btn {
        min-width: 100px;
        max-width: 140px;
    }
    
    .teamhistory-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teamhistory-big {
        font-size: 3rem;
    }
    
    .hero-section2 {
        padding: 60px 20px 40px;
        margin: 20px 0;
    }
    
    .superbowl-heading {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .superbowl-description {
        font-size: 1.1rem;
        margin: 15px auto 25px;
        padding: 0 10px;
    }
    
    .superbowl-buttons {
        padding: 0 10px;
    }
    
    .superbowl-buttons .custom-btn {
        flex: 1 1 auto;
        min-width: 80px;
        max-width: 120px;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}

/* Desktop Styles (1024px and up) */
@media screen and (min-width: 1024px) {
    .hero-section {
        padding: 100px 20px 60px;
    }
    
    .latest-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-heading {
        font-size: 1.8rem;
    }
    
    .thehogs-grid-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .thehogs-title {
        font-size: 2.5rem;
    }
    
    .thehogs-grid-box:hover .thehogs-box-overlay {
        transform: translateY(-10px);
    }
    
    .hogs-profiles-buttons .custom-btn {
        min-width: 160px;
        padding: 15px 25px;
    }
    
    .superbowl-heading {
        font-size: 3.5rem;
    }
    
    .superbowl-buttons .custom-btn {
        min-width: 120px;
        max-width: 160px;
        padding: 18px 25px;
    }
    
    .hero-section2 {
        padding: 80px 20px 50px;
    }
    
    .teamhistory-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .teamhistory-big {
        font-size: 3.5rem;
    }
}


.hero-heading,
.superbowl-heading,
.latest-article-title,
.news-heading,
.news-headline,
.thehogs-title,
.teamhistory-big {
  font-family: var(--font-display);
  font-weight: 700; 
  text-transform: uppercase;
letter-spacing: -0.5px;
line-height: 1.1;
}
