/* 
  EliteK9 Satellite SEO Website - Premium Design System
  Theme: German Shepherd & K9 Training
*/

:root {
    --primary: #c98d26;
    /* Premium Gold/Orange */
    --secondary: #0b0c10;
    --accent: #151a21;
    --text-dark: #e8eaf0;
    --text-light: #ffffff;
    --text-muted: #a7afc0;
    --bg-light: #0f1115;
    --bg-dark: #0b0c10;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --header-height: 80px;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 80px 0;
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.grid {
    display: grid;
    gap: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #b07a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 141, 38, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Glassmorphism Header */
header {
    height: var(--header-height);
    background-color: rgba(11, 12, 16, 0.76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-subtle);
}

header.scrolled {
    background-color: rgba(11, 12, 16, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

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

nav ul li a:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
}

nav.active {
    display: block !important;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    padding: 9px 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Protection Cards Hover */
.protection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.protection-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 0;
}

.show-less-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.show-less-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-top: var(--header-height);
    background-color: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 8, 12, 0.38) 0%, rgba(8, 10, 14, 0.22) 45%, rgba(8, 10, 14, 0.08) 100%);
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: saturate(1.15) contrast(1.1) brightness(1);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Gallery Refined */
.gallery-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.gallery-filters li {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.gallery-filters li:hover,
.gallery-filters li.active {
    color: var(--primary);
}

.gallery-filters li.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

/* Testimonials */
.testimonial-card {
    background: var(--accent);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.gallery-item {
    position: relative;
    overflow: visible;
    border-radius: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: none;
}

.gallery-item.wide {
    grid-column: span 1;
}

.gallery-item.tall {
    grid-row: span 2;
}

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

.cta-banner h2 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #0f0f0f;
    color: #999;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
        align-items: start;
    }
}

@media (max-width: 768px) {
    #nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(11, 12, 16, 0.98);
        padding: 20px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
        border-bottom: 1px solid var(--border-subtle);
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    #nav-menu.active {
        display: block;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    header .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}
/* Dark tone overrides for inline-styled sections/cards */
#faq {
    background-color: var(--bg-dark) !important;
}

/* FAQ cards use inline `background: white` in index.html */
#faq [style*="background: white"] {
    background: var(--accent) !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Improve readability where inline-muted text exists */
small {
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
        align-items: start;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }
}

















.protection-card {
    background: transparent !important;
}






/* Satellite alignment overrides */
.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: start !important;
}

.gallery-item,
.gallery-item.wide {
    grid-column: span 1 !important;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 10px;
}

.gallery-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 6;
    object-fit: cover !important;
    border-radius: 10px;
    background: transparent !important;
}

.protection-card {
    background: #252525 !important;
    border-radius: 12px;
    overflow: hidden;
}

.protection-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    padding: 0;
    display: block;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile hardening (320px+) */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-btns .btn[style*="margin-left"] {
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 64px 0;
    }

    .hero {
        min-height: 460px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    section h2[style*="font-size: 2.5rem"] {
        font-size: clamp(1.65rem, 6.5vw, 2rem) !important;
        line-height: 1.25 !important;
    }

    .cta-banner h2 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .section-padding .grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .service-card {
        padding: 24px !important;
    }

    .testimonial-card {
        padding: 24px;
    }

    .gallery-filters {
        flex-wrap: wrap;
        gap: 10px 14px;
        font-size: 0.78rem;
    }

    .gallery-item img,
    .protection-image {
        aspect-ratio: auto !important;
        height: auto !important;
    }

    #gallery>.container>div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 28px !important;
        gap: 14px !important;
    }

    #nav-menu {
        max-height: calc(100svh - var(--header-height));
        overflow-y: auto;
    }

    #nav-menu .btn {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    p,
    h1,
    h2,
    h3,
    h4,
    a {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.82rem;
        letter-spacing: 0.6px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.1rem);
    }

    .logo {
        font-size: 1.3rem;
    }

    #faq [style*="padding: 25px"] {
        padding: 20px !important;
    }

    .cta-banner {
        padding: 70px 0;
    }

    .cta-banner p[style] {
        font-size: 1rem !important;
        margin-bottom: 28px !important;
    }

    .show-less-btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .section-padding {
        padding: 56px 0;
    }

    .hero {
        min-height: 430px;
    }

    .hero h1 {
        font-size: 1.65rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    #nav-menu {
        padding: 16px 12px;
    }
}




@media (max-width: 768px) {
    .hero-image {
        object-position: 62% center;
    }
}

@media (max-width: 480px) {
    .hero-image {
        object-position: 68% center;
    }
}







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

footer .logo img {
    height: 52px;
}

@media (max-width: 480px) {
    .logo img {
        height: 38px;
    }
}

@media (max-width: 320px) {
    .logo img {
        height: 34px;
    }
}


