/* ============================================
   PAGE-SPECIFIC STYLES — Homepage
   ============================================ */

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/heroes/header-logo.png');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #92b4cc 45%, rgba(6, 6, 7, 0) 75%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: var(--space-2xl) 0;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 500;
    color: var(--color-dark);
    opacity: 0.85;
    margin-bottom: var(--space-sm);
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.hero .separator {
    justify-content: flex-start;
    margin-bottom: var(--space-sm);
}

.hero-tagline {
    font-size: var(--fs-body-lg);
    color: var(--color-white-muted);
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-play {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* ===== FEATURE CARDS SECTION ===== */
.features {
    background: var(--gradient-dark);
    padding-top: var(--space-xl);
    margin-top: -3%;
    position: relative;
    z-index: 3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    background: var(--gradient-dark);
    text-align: center;
    padding: var(--space-section) var(--space-lg);
}

.quote-section blockquote {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.25;
    max-width: 900px;
    margin: 0 auto var(--space-md);
}

.quote-section blockquote::before {
    content: '\201C';
    color: var(--color-primary);
    opacity: 0.3;
    font-size: 4rem;
    display: block;
    margin-bottom: -1rem;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
}

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

.quote-author .author-name {
    font-weight: 600;
    color: var(--color-white);
}

.quote-author .author-location {
    color: var(--color-white-faint);
    margin-left: var(--space-sm);
}

/* ===== YOUTUBE SECTION ===== */
.youtube-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.youtube-image {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 40px 0;
    overflow: hidden;
}

.youtube-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.youtube-image .play-btn {
    position: relative;
    z-index: 2;
}

.youtube-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) clamp(var(--space-lg), 6vw, var(--space-2xl));
}

.youtube-content .section-label {
    font-size: var(--fs-h2);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.youtube-content h2 {
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.youtube-content p {
    font-size: var(--fs-body-lg);
    margin-bottom: var(--space-lg);
}

/* ===== PLAYLISTS SECTION ===== */
.playlists-section {
    background: var(--color-dark);
}

.playlists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* ===== FACEBOOK SECTION ===== */
.facebook-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--gradient-dark);
    text-align: center;
}

.facebook-inner {
    max-width: 700px;
}

.facebook-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.facebook-section .section-label {
    font-size: var(--fs-h2);
    color: #1877f2;
    margin-bottom: var(--space-sm);
}

.facebook-section h2 {
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.facebook-desc {
    font-size: var(--fs-body-lg);
    color: var(--color-white-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.facebook-stats {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.fb-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(24, 119, 242, 0.08);
    border: 1px solid rgba(24, 119, 242, 0.15);
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
}

.fb-stat:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.3);
    transform: translateY(-2px);
}

.fb-stat-icon {
    font-size: 1.2rem;
}

.fb-stat-text {
    font-size: var(--fs-small);
    color: var(--color-white-muted);
    font-weight: 500;
}

.facebook-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-facebook {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-facebook:hover {
    background: #166fe5 !important;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
    transform: translateY(-2px);
}

.btn-facebook .btn-icon {
    display: flex;
    align-items: center;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    position: relative;
    background-color: var(--color-primary);
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/heroes/header-logo.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.3;
}

.newsletter-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #92b4cc 47%, rgba(6, 6, 7, 0) 76%);
}

.newsletter-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.newsletter-inner .section-label {
    color: var(--color-dark);
    opacity: 0.85;
    font-size: var(--fs-h2);
    margin-bottom: var(--space-sm);
}

.newsletter-inner h2 {
    color: var(--color-white);
    font-size: var(--fs-h1);
    margin-bottom: var(--space-sm);
}

.newsletter-inner .newsletter-desc {
    font-size: var(--fs-body-lg);
    color: var(--color-white-muted);
    margin-bottom: var(--space-lg);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* ===== VIDEO OF THE DAY SECTION ===== */
.video-day-section {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.video-day-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-cta);
    z-index: 0;
}

.video-day-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/heroes/header-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

.video-day-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.video-day-content .play-btn {
    margin: 0 auto var(--space-md);
}

.video-day-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.video-day-content .video-date {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    color: var(--color-accent-warm);
    margin-bottom: var(--space-sm);
}

.video-day-content .video-link {
    color: var(--color-white);
    font-size: var(--fs-body);
}

.video-day-content .video-link:hover {
    color: var(--color-primary);
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.fade-in:nth-child(2) {
    transition-delay: 0.15s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.45s;
}

/* ===== RESPONSIVE — Pages ===== */
@media (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }

    .hero-play {
        display: none;
    }

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

    .youtube-section {
        grid-template-columns: 1fr;
    }

    .youtube-image {
        min-height: 350px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 2rem) 0 3rem;
    }

    .hero-content {
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-bg {
        opacity: 0.3;
    }

    .hero-bg::before {
        background: linear-gradient(150deg,
                hsla(206, 30%, 55%, 0.95) 0%,
                hsla(220, 35%, 15%, 0.95) 100%);
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Fix overlapping features section on mobile */
    .features {
        margin-top: 0;
        padding-top: var(--space-xl);
        z-index: 1;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .card-image {
        padding-top: 80%;
    }

    .playlists-grid {
        grid-template-columns: 1fr;
    }

    .playlists-header {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .quote-section blockquote {
        font-size: clamp(1.5rem, 5vw, 2.3rem);
    }

    .quote-section {
        padding: var(--space-xl) var(--space-md);
    }

    /* YouTube section mobile fix */
    .youtube-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .youtube-image {
        min-height: 280px;
    }

    .youtube-content {
        padding: var(--space-lg) var(--space-md);
    }

    /* Facebook section mobile */
    .facebook-section {
        padding: var(--space-xl) var(--space-md);
    }

    /* Newsletter section mobile */
    .newsletter-section {
        padding: var(--space-xl) 0;
    }

    .newsletter-inner {
        max-width: 100%;
    }

    /* Services section mobile */
    .service-box {
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    /* Ensure no section floats above nav */
    .features,
    .quote-section,
    .youtube-section,
    .facebook-section,
    .newsletter-section,
    #resources {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-content {
        padding: var(--space-lg) var(--space-md);
    }

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

    .hero-tagline {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .card-image {
        padding-top: 70%;
    }

    .card-content {
        padding: var(--space-md);
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .service-box .service-icon {
        font-size: 2.5rem;
    }
}

/* ============================================
   SUBPAGE STYLES — All Inner Pages
   ============================================ */

/* ===== PAGE HERO (used on all sub-pages) ===== */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: var(--space-2xl) var(--space-md);
}

.page-hero-content h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.page-hero-content .hero-tagline {
    font-size: var(--fs-body-lg);
    color: var(--color-white-muted);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.page-hero-content .separator {
    justify-content: flex-start;
    margin-bottom: var(--space-sm);
}

/* ===== ABOUT PAGE ===== */
.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text p:not(.section-label) {
    font-size: var(--fs-body-lg);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.about-image {
    width: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center;
}

/* Owner cards */
.owners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.owner-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 40px 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.owner-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    background-size: cover;
    background-position: center;
    border: 3px solid var(--color-primary);
}

.owner-card h3 {
    margin-bottom: var(--space-xs);
}

.owner-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.owner-card p:last-child {
    font-size: var(--fs-body);
    color: var(--color-white-muted);
    line-height: 1.7;
}

/* ===== MALAMUTES PAGE — Dog Profiles ===== */
.dog-profile {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dog-profile:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dog-profile-reverse {
    grid-template-columns: 0.55fr 0.45fr;
}

.dog-profile-reverse .dog-image {
    order: 2;
}

.dog-profile-reverse .dog-info {
    order: 1;
}

.dog-image {
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 4px 4px 40px 4px;
    position: relative;
    overflow: hidden;
}

.dog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.dog-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.dog-info h3 {
    font-size: var(--fs-h1);
    margin-bottom: var(--space-xs);
}

.dog-trait {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.dog-info>p:not(.dog-trait) {
    font-size: var(--fs-body-lg);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--color-white-muted);
}

.dog-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.dog-highlights span {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-white-muted);
}

/* ===== GALLERY PAGE ===== */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.gallery-filter {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--color-white-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    grid-auto-flow: dense;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px 4px 20px 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

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

.gallery-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.gallery-item-tall .gallery-img {
    min-height: 580px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--color-white-muted);
}

/* ===== VIDEOS PAGE ===== */
.video-featured {
    max-width: 900px;
    margin: 0 auto;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px 4px 20px 4px;
    background: rgba(0, 0, 0, 0.3);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.playlist-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 20px 4px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.playlist-thumb {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.playlist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-card:hover .playlist-overlay {
    opacity: 1;
}

.playlist-count {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.playlist-info {
    padding: var(--space-md);
}

.playlist-info h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.playlist-info p {
    font-size: 0.9rem;
    color: var(--color-white-muted);
    line-height: 1.5;
}

/* ===== FAQ PAGE ===== */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.fact-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 20px 4px;
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-3px);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.fact-card h4 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.fact-card p {
    font-size: 0.9rem;
    color: var(--color-white-muted);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
    font-family: var(--font-heading);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: var(--space-md);
}

.faq-answer p {
    color: var(--color-white-muted);
    font-size: var(--fs-body);
    line-height: 1.8;
}

/* ===== BLOG PAGE ===== */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 40px 4px;
    overflow: hidden;
    margin-bottom: var(--space-2xl);
}

.blog-featured-image {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-tag {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-featured-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.blog-featured-content h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.blog-featured-content p {
    color: var(--color-white-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 20px 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card-content {
    padding: var(--space-md);
}

.blog-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 0.9rem;
    color: var(--color-white-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.blog-read-more {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--color-white);
}

/* ===== EVENTS PAGE ===== */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 20px 4px;
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateX(4px);
}

.event-card.event-past {
    opacity: 0.7;
}

.event-card.event-past:hover {
    opacity: 1;
}

.event-date-badge {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    padding: var(--space-sm) var(--space-xs);
}

.event-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-white);
    text-transform: uppercase;
}

.event-day {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.event-details h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
}

.event-meta {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.event-details>p:last-child {
    font-size: 0.9rem;
    color: var(--color-white-muted);
    line-height: 1.6;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info>p {
    font-size: var(--fs-body-lg);
    color: var(--color-white-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-method {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.contact-method h4 {
    color: var(--color-white);
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-method a,
.contact-method p {
    color: var(--color-white-muted);
    font-size: 0.95rem;
}

.contact-method a:hover {
    color: var(--color-primary);
}

.contact-social {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.contact-social a {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px 4px 40px 4px;
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--color-white);
    font-size: var(--fs-body);
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-white-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(146, 180, 204, 0.15);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--color-dark);
    color: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== RESPONSIVE — Subpages ===== */
@media (max-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 350px;
    }

    .owners-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .dog-profile,
    .dog-profile-reverse {
        grid-template-columns: 1fr;
    }

    .dog-profile-reverse .dog-image,
    .dog-profile-reverse .dog-info {
        order: unset;
    }

    .dog-image {
        min-height: 300px;
    }

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

    .gallery-item-tall .gallery-img {
        min-height: 400px;
    }

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

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

    .blog-featured {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 280px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
    }

    .page-hero-content {
        padding: var(--space-lg) var(--space-md);
    }

    .page-hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-tall,
    .gallery-item-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .gallery-item-tall .gallery-img {
        min-height: 280px;
    }

    .playlist-grid,
    .facts-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        align-items: stretch;
    }

    .event-date-badge {
        width: auto;
        display: flex;
        gap: var(--space-xs);
        justify-content: center;
        align-items: center;
        border-radius: 8px;
    }

    .dog-image {
        min-height: 250px;
    }

    .dog-info h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .about-image {
        min-height: 280px;
    }

    .owner-avatar {
        width: 120px;
        height: 120px;
    }

    .blog-featured-content {
        padding: var(--space-md);
    }

    .blog-featured-content h2 {
        font-size: 1.3rem;
    }

    .contact-form {
        padding: var(--space-md);
    }
}