/* ========== SHARED STYLES FOR ALL PAGES ========== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=Roboto+Slab:wght@400;600;700&display=swap');

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

:root {
    --color-primary: #6EC1E4;
    --color-secondary: #54595F;
    --color-text: #7A7A7A;
    --color-accent: #61CE70;
    --color-dark: #1B1F29;
    --color-red: #C00000;
    --color-border: #e0e0e0;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --container-max: 1200px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== HEADER ========== */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.site-logo img { height: 52px; width: auto; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}
.main-nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    transition: color 0.3s;
    white-space: nowrap;
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a.active { color: var(--color-primary); }
.nav-cta {
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 4px;
    padding: 10px 20px !important;
    margin-left: 8px;
}
.nav-cta:hover { background: #5ab0d3; }
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-secondary);
}

/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    overflow: hidden;
}
.page-hero .hero-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.page-hero .hero-video-bg iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.page-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--color-dark);
    opacity: 0.6;
    z-index: 1;
}
.page-hero h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ========== SECTION STYLES ========== */
.section-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 24px;
}
.content-section {
    padding: 60px 0;
    background: #fff;
}
.content-section.alt {
    background: #f8f8f8;
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.two-col img {
    width: 100%;
    border-radius: 8px;
}
.two-col .text-col h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.two-col .text-col p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 14px;
    text-align: justify;
}

/* ========== VIDEO PLAYLIST ========== */
.video-playlist { max-width: 900px; margin: 0 auto; }
.video-main {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    margin-bottom: 16px;
}
.video-main iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.video-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.video-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.2s;
}
.video-item:hover { transform: scale(1.03); }
.video-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.video-item .duration {
    position: absolute;
    bottom: 6px; right: 6px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
}
.video-item .vid-title {
    font-size: 12px;
    color: var(--color-secondary);
    padding: 6px 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== CARDS GRID ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.info-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.3s;
}
.info-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.info-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}
.info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}
.info-card p {
    font-size: 13px;
    line-height: 1.6;
}

/* ========== NEWS/BLOG GRID ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    row-gap: 35px;
}
.news-card {
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.news-card .thumb {
    width: 100%;
    padding-bottom: 66%;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}
.news-card .thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.news-card .card-body { padding: 20px 0 0; }
.news-card .category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 1px;
}
.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 8px 0;
    line-height: 1.4;
}
.news-card .excerpt {
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.news-card .read-more {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
}
.news-card .meta {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info-block h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 20px;
}
.contact-info-block h6:first-child { margin-top: 0; }
.contact-info-block p {
    font-size: 15px;
    line-height: 1.7;
}
.contact-info-block .social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.contact-info-block .social-links a {
    width: 36px; height: 36px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
}
.contact-info-block .social-links a:hover {
    background: var(--color-secondary);
}
.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 6px;
    margin-top: 16px;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-primary);
    outline: none;
    transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .submit-btn {
    margin-top: 20px;
    padding: 14px 32px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form .submit-btn:hover { background: #5ab0d3; }

/* ========== PLAYER PROFILES ========== */
.player-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}
.player-card img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}
.player-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 12px;
}
.player-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.player-card .social-links {
    display: flex;
    gap: 12px;
}
.player-card .social-links a {
    width: 32px; height: 32px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

/* ========== CALCULATOR STYLES ========== */
.calculator-section {
    padding: 40px 0;
}
.calc-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}
.calc-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 16px;
    text-align: center;
}
.calc-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
.calc-card table th,
.calc-card table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--color-border);
    font-size: 14px;
}
.calc-card table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 500;
}
.calc-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}
.calc-card select,
.calc-card input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-primary);
}
.calc-btn {
    padding: 12px 28px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--color-dark);
    color: #ccc;
    padding: 48px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-col .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    align-items: flex-start;
}
.footer-col .contact-item i {
    color: var(--color-primary);
    margin-top: 3px;
    min-width: 16px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
}
.footer-social a:hover { background: var(--color-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .video-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }
    .main-nav.active { display: flex; }
    .mobile-toggle { display: block; }
    .page-hero { min-height: 250px; }
    .page-hero h1 { font-size: 32px; }
    .two-col { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .player-card { grid-template-columns: 1fr; }
    .video-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .calc-card .form-row { grid-template-columns: 1fr; }
}
