/*
Theme Name: Phantoms-hockey-theme
Author: Your Name
Version: 1.0
Description: Custom responsive hockey team theme.
*/

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #222;
}

/* ===============================
   TOP BLUE BAR
================================= */
.top-bar {
    background: #000032;
    height: 40px;
    width: 100%;
}

/* ===============================
   HEADER STRUCTURE
================================= */
.site-header {
    position: relative;
    width: 100%;
}

/* ===============================
   NAVIGATION BAR
================================= */
.main-navigation {
    background: #fe2d02;
    border-top: 6px solid #ffffff;
    border-bottom: 6px solid #ffffff;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
}

/* NAV CONTAINER */
.nav-container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEFT + RIGHT MENUS */
.nav-left,
.nav-right {
    width: 40%;
}

.nav-left ul,
.nav-right ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-left ul {
    justify-content: flex-end;
    gap: 30px;
}

.nav-right ul {
    justify-content: flex-start;
    gap: 30px;
}

.nav-left ul li a,
.nav-right ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-left ul li a:hover,
.nav-right ul li a:hover {
    opacity: 0.85;
}

/* ===============================
   CENTER LOGO (PROPER OVERLAP)
================================= */
.logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.logo-wrapper img {
    height: 150px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* ===============================
   HERO SECTION
================================= */
.hero {
    background: url('images/hero.jpg') center center/cover no-repeat;
    text-align: center;
    color: #ffffff;
    padding: 160px 20px 120px 20px;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero p {
    font-size: 18px;
}

/* ===============================
   GENERAL SECTION LAYOUT
================================= */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-3 {
    display: flex;
    gap: 40px;
}

/* ===============================
   CARDS (Latest / Game / Standings)
================================= */
.card {
    flex: 1;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Center Homepage Card Titles Only */
.section .card > h3,
.section .card > .card-title {
    text-align: center;
}

/* Blue title bar */
.card h3,
.card .widget-title {
    background: #000032;
    color: #ffffff;
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card content */
.card p,
.card .widget {
    padding: 20px;
    font-size: 14px;
}

/* ===============================
   LATEST NEWS STYLE
================================= */

.latest-news {
    padding-bottom: 20px;
}

.latest-news h3 {
    background: #000032;
    color: #ffffff;
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.news-item {
    padding: 20px;
}

.news-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content h4 a {
    text-decoration: none;
    color: #c20c0d;
}

.news-content h4 a:hover {
    text-decoration: underline;
}

.news-content p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    background: #c20c0d;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 13px;
}

.read-more:hover {
    opacity: 0.85;
}

/* ===============================
   FOOTER
================================= */

/* Red Top Bar */
.footer-top-bar {
    background: #c20c0d;
    height: 50px;
    border-bottom: 4px solid #ffffff;
}

/* Blue Main Section */
.footer-main {
    background: #0c2d5a;
    color: #ffffff;
    padding: 50px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Footer Columns */
.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Menus */
.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #ffffff;
    font-size: 20px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 1200px) {
    .nav-container {
        width: 95%;
    }
}

@media (max-width: 992px) {

    .nav-container {
        flex-direction: column;
        justify-content: center;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        text-align: center;
    }

    .nav-left ul,
    .nav-right ul {
        justify-content: center;
        margin: 10px 0;
        flex-wrap: wrap;
    }

    .logo-wrapper {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        margin: 10px 0;
    }

    .home-sections {
        flex-direction: column;
    }

    .hero {
        padding: 120px 20px 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }
}

/* ===============================
   DROPDOWN MENU
================================= */

/* Parent LI needs positioning */
.menu-left li,
.menu-right li {
    position: relative;
}

/* Hide submenus by default */
.menu-left li .sub-menu,
.menu-right li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #e12600;
    list-style: none;
    min-width: 200px;
    padding: 15px 0;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 999;
}

/* Show on hover */
.menu-left li:hover > .sub-menu,
.menu-right li:hover > .sub-menu {
    display: block;
}

/* Submenu items */
.sub-menu li {
    padding: 8px 20px;
}

/* Submenu links */
.sub-menu li a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    text-decoration: none;
}

/* Hover effect */
.sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
}
/* ===============================
   NEXT GAME PANEL
================================= */

.next-game-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Title Bar Like Other Panels */
.card-title {
    background: #0c2d5a;
    color: #ffffff;
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Inner Dark Section */
.next-game-inner {
    background: linear-gradient(180deg, #0c2d5a, #092144);
    color: #ffffff;
    padding: 25px 25px 35px 25px;
    text-align: center;
    flex-grow: 1;
}

/* Matchup Layout */
.matchup {
    margin-bottom: 20px;
}

.team-name {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vs {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* Game Date */
.game-date {
    font-size: 15px;
    margin: 20px 0;
    letter-spacing: 1px;
}

/* Countdown Label */
.countdown-label {
    margin: 15px 0 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Countdown Layout */
#countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.time-box {
    text-align: center;
}

.time-box span {
    display: block;
    font-size: 42px;
    font-weight: 800;
}

.time-box small {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}
/* Divider*/
.divider {
    width: 90%;
    height: 2px;
    background: #ffffff;
    opacity: 0.3;
    margin: 20px auto;
}

/* Responsive */
@media (max-width: 768px) {

    .team-name {
        font-size: 18px;
    }

    .time-box span {
        font-size: 32px;
    }

    #countdown {
        gap: 15px;
    }
}
/* Responsive */
@media (max-width: 768px) {

    .team-name {
        font-size: 18px;
    }

    .time-box span {
        font-size: 32px;
    }

    #countdown {
        gap: 15px;
    }
}

/* RESPONSIVE */

@media (max-width: 768px) {
    #countdown {
        gap: 20px;
    }

    #countdown span {
        font-size: 36px;
    }

    .next-game-card h3 {
        font-size: 20px;
    }
}