/* ===== MODERN CSS VARIABLES FOR 2025 ===== */
:root {
    /* Original Green Palette */
    --dark-forest: #0d3300;
    --deep-green: #0b2101;
    --forest-green: #0b5e06;
    --light-green: #88c01d;
    --bright-lime: #c5e052;
    --sun: #e7f73b;
    --sun-two: #7e8300;
    --light-cream: #f0f8e8;
    
    /* 2025 Color Trends */
    --celestial-yellow: #EDEAB1;
    --future-dusk: #4C5578;
    --retro-blue: #71ADBA;
    --neon-flare: #FF654F;
    
    /* Extended Palette */
    --white: #ffffff;
    --black: #000000;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-green: rgba(139, 192, 29, 0.1);
    --shadow-soft: rgba(13, 51, 0, 0.1);
    --shadow-medium: rgba(13, 51, 0, 0.2);
    --shadow-hard: rgba(13, 51, 0, 0.4);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1400px;
    --section-padding: 120px 0;
    --card-padding: 40px;
    --border-radius: 24px;
    --border-radius-small: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows & Glows */
    --shadow-neumorphic: 
        20px 20px 40px rgba(13, 51, 0, 0.15),
        -20px -20px 40px rgba(197, 224, 82, 0.1);
    --shadow-neumorphic-inset: 
        inset 10px 10px 20px rgba(13, 51, 0, 0.1),
        inset -10px -10px 20px rgba(197, 224, 82, 0.05);
    --glow-primary: 0 0 30px rgba(139, 192, 29, 0.5);
    --glow-secondary: 0 0 20px rgba(197, 224, 82, 0.3);
    --glow-accent: 0 0 40px rgba(255, 102, 79, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    /* background: radial-gradient(ellipse at top, var(--forest-green) 0%, var(--dark-forest) 50%, var(--deep-green) 100%); */
    background: 
        conic-gradient(from 0deg at -5% 30%, transparent 0deg, rgba(231, 247, 59, 0.08) 10deg, transparent 20deg, rgba(197, 224, 82, 0.06) 30deg, transparent 40deg, rgba(231, 247, 59, 0.08) 50deg, transparent 60deg, rgba(197, 224, 82, 0.06) 70deg, transparent 80deg, rgba(231, 247, 59, 0.08) 90deg, transparent 100deg, rgba(197, 224, 82, 0.06) 110deg, transparent 120deg, rgba(231, 247, 59, 0.08) 130deg, transparent 140deg, rgba(197, 224, 82, 0.06) 150deg, transparent 160deg, rgba(231, 247, 59, 0.08) 170deg, transparent 180deg, rgba(197, 224, 82, 0.06) 190deg, transparent 200deg, rgba(231, 247, 59, 0.08) 210deg, transparent 220deg, rgba(197, 224, 82, 0.06) 230deg, transparent 240deg, rgba(231, 247, 59, 0.08) 250deg, transparent 260deg, rgba(197, 224, 82, 0.06) 270deg, transparent 280deg, rgba(231, 247, 59, 0.08) 290deg, transparent 300deg, rgba(197, 224, 82, 0.06) 310deg, transparent 320deg, rgba(231, 247, 59, 0.08) 330deg, transparent 340deg, rgba(197, 224, 82, 0.06) 350deg, transparent 360deg),
        conic-gradient(from 0deg at 105% 80%, transparent 0deg, rgba(231, 247, 59, 0.08) 10deg, transparent 20deg, rgba(197, 224, 82, 0.06) 30deg, transparent 40deg, rgba(231, 247, 59, 0.08) 50deg, transparent 60deg, rgba(197, 224, 82, 0.06) 70deg, transparent 80deg, rgba(231, 247, 59, 0.08) 90deg, transparent 100deg, rgba(197, 224, 82, 0.06) 110deg, transparent 120deg, rgba(231, 247, 59, 0.08) 130deg, transparent 140deg, rgba(197, 224, 82, 0.06) 150deg, transparent 160deg, rgba(231, 247, 59, 0.08) 170deg, transparent 180deg, rgba(197, 224, 82, 0.06) 190deg, transparent 200deg, rgba(231, 247, 59, 0.08) 210deg, transparent 220deg, rgba(197, 224, 82, 0.06) 230deg, transparent 240deg, rgba(231, 247, 59, 0.08) 250deg, transparent 260deg, rgba(197, 224, 82, 0.06) 270deg, transparent 280deg, rgba(231, 247, 59, 0.08) 290deg, transparent 300deg, rgba(197, 224, 82, 0.06) 310deg, transparent 320deg, rgba(231, 247, 59, 0.08) 330deg, transparent 340deg, rgba(197, 224, 82, 0.06) 350deg, transparent 360deg),
        radial-gradient(circle at -5% 30%, rgba(231, 247, 59, 0.4) 0%, transparent 50%),
        radial-gradient(circle at -5% 30%, rgba(197, 224, 82, 0.3) 0%, transparent 35%),
        radial-gradient(circle at 105% 80%, rgba(231, 247, 59, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 105% 80%, rgba(197, 224, 82, 0.2) 0%, transparent 30%),
        linear-gradient(to bottom, var(--forest-green) 0%, var(--forest-green) 30%, var(--dark-forest) 70%, var(--forest-green) 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--bright-lime);
    color: var(--dark-forest);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
}

.title__highlight {
    background: linear-gradient(135deg, var(--bright-lime), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* .title__highlight--puppies {
    background: linear-gradient(135deg, var(--sun), var(--bright-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(231, 247, 59, 0.5);
} */

.title__highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bright-lime), transparent);
    border-radius: 2px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(13, 51, 0, 0.8);
    border-bottom: 1px solid rgba(139, 192, 29, 0.2);
    transition: var(--transition-medium);
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__brand {
    display: flex;
    align-items: center;
}

.nav__logo {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--bright-lime);
    text-align: center;
    line-height: 1.1;
}

.logo__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 192, 29, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0;
    transition: var(--transition-medium);
}

.nav__logo:hover .logo__glow {
    opacity: 1;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    transition: var(--transition-fast);
    overflow: hidden;
    text-align: center;
    font-size: 1vw;
}

.nav__link-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 192, 29, 0.1), rgba(197, 224, 82, 0.05));
    border-radius: var(--border-radius-small);
    opacity: 0;
    transition: var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
    color: var(--white);
    transform: translateY(-2px);
}

.nav__link:hover .nav__link-glow,
.nav__link--active .nav__link-glow {
    opacity: 1;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--bright-lime);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== BUTTONS ===== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-medium);
    overflow: hidden;
    z-index: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--light-green), var(--bright-lime));
    color: var(--dark-forest);
    box-shadow: var(--shadow-neumorphic);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(139, 192, 29, 0.3);
    backdrop-filter: blur(10px);
}

.btn--full {
    width: 100%;
}

.btn__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(197, 224, 82, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
    border-radius: var(--border-radius);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-neumorphic),
        var(--glow-primary);
}

.btn:hover .btn__glow {
    opacity: 1;
}

.btn__arrow {
    transition: var(--transition-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    max-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg, 
        var(--dark-forest) 0%, 
        rgba(13, 51, 0, 0.8) 40%, 
        rgba(13, 51, 0, 0.4) 50%, 
        rgba(13, 51, 0, 0.1) 60%, 
        transparent 75%
    );
}

.hero__image {
    position: absolute;
    top: 0;
    right: -5%;
    width: 55%;
    height: 100%;
    background: url('img/dog_main.jpg') center/cover no-repeat;
    mask: linear-gradient(
        to left, 
        rgba(0,0,0,1) 72%, 
        /* rgba(0,0,0,0.8) 90%, 
        rgba(0,0,0,0.6) 70%, 
        rgba(0,0,0,0.4) 80%,  */
        rgba(0,0,0,0.6) 77%,
        rgba(0,0,0,0.4) 82%,
        rgba(0,0,0,0.1) 90%, 
        transparent 100%
    );
    /* -webkit-mask: linear-gradient(
        to left, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.95) 15%, 
        rgba(0,0,0,0.8) 30%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0.2) 70%, 
        transparent 85%
    ); */
}

.hero__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(139, 192, 29, 0.1) 20%,
        rgba(197, 224, 82, 0.2) 100%
    ); */
}

.hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero__content {
    position: relative;
    left: -24vw;
    max-width: 600px;
    margin-top: 0px;
    text-align: left;
}

.hero__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 192, 29, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bright-lime);
    margin-bottom: 2rem;
    overflow: hidden;
}

.badge__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(139, 192, 29, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
}

.hero__badge:hover .badge__glow {
    opacity: 1;
}

.hero__title {
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--white);
}

.title__line {
    display: block;
}

.title__line--highlight {
    background: linear-gradient(135deg, var(--bright-lime), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title__subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.hero__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.scroll__indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll__arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--bright-lime), transparent);
    position: relative;
}

.scroll__arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--bright-lime);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding);
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 192, 29, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--bright-lime);
    margin-bottom: 1rem;
    overflow: hidden;
}

.section__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTAINERS ===== */
.about__container,
.gallery__container,
.puppies__container,
.news__container,
.contact__container,
.stats__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ABOUT SECTION ===== */
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.about__card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    overflow: hidden;
    transition: var(--transition-medium);
}

/* Removed span 2 for equal sized cards */

.card__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(139, 192, 29, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
}

.about__card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 192, 29, 0.5);
    box-shadow: var(--glow-secondary);
}

.about__card:hover .card__glow {
    opacity: 1;
}

.card__content {
    position: relative;
    z-index: 2;
}

.card__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-green), var(--bright-lime));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--dark-forest);
    overflow: hidden;
}

.icon__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(197, 224, 82, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
}

.about__card:hover .icon__glow {
    opacity: 1;
}

.card__icon svg {
    width: 32px;
    height: 32px;
}

.about__card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.about__card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat__item {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-medium);
}

.stat__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(139, 192, 29, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
}

.stat__item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 192, 29, 0.5);
}

.stat__item:hover .stat__glow {
    opacity: 1;
}

.stat__number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--bright-lime);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* ===== GALLERY SECTION ===== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery__image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(13, 51, 0, 0.3) 50%,
        rgba(13, 51, 0, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__item:hover {
    box-shadow: var(--glow-secondary);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__item:hover .gallery__image img {
    transform: scale(1.1);
}

.overlay__content {
    color: var(--white);
}

.overlay__content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--bright-lime);
}

.overlay__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 192, 29, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    overflow: hidden;
    transition: var(--transition-fast);
}

.button__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(139, 192, 29, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-fast);
}

.overlay__button:hover .button__glow {
    opacity: 1;
}

/* ===== BREEDING/PUPPIES SECTION ===== */
.breeding__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.breeding__card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    text-align: center;
    overflow: hidden;
    transition: var(--transition-medium);
}

.breeding__card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 192, 29, 0.5);
    box-shadow: var(--glow-secondary);
}

.breeding__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-green), var(--bright-lime));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--dark-forest);
    overflow: hidden;
}

.breeding__icon svg {
    width: 32px;
    height: 32px;
}

.breeding__card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.breeding__card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card__stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bright-lime);
}

.stat__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== PUPPIES SECTION ===== */
.puppies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.puppy__card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 192, 29, 0.2);
    transition: var(--transition-medium);
}

.puppy__card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 192, 29, 0.5);
}

.puppy__card:hover .card__glow {
    opacity: 1;
    transform: scale(1.1);
}

.puppy__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.puppy__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.puppy__card:hover .puppy__image img {
    transform: scale(1.1);
}

.puppy__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 51, 0, 0.9), rgba(139, 192, 29, 0.3));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.puppy__card:hover .puppy__overlay {
    opacity: 1;
}

.puppy__overlay .overlay__content {
    width: 100%;
}

.puppy__overlay .overlay__content h3 {
    color: var(--white);
    font-size: 1.1rem;
    /* margin-bottom: 0.5rem; */
}

.puppy__overlay .overlay__content p {
    color: var(--light-cream);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.puppy__button {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* ===== NEWS SECTION ===== */
.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news__card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-medium);
}



.news__card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 192, 29, 0.5);
    box-shadow: var(--glow-secondary);
}

.news__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.news__card:hover .news__image img {
    transform: scale(1.05);
}

.news__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--neon-flare);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news__content {
    padding: 2rem;
}

.news__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news__date {
    color: rgba(255, 255, 255, 0.7);
}

.news__category {
    color: var(--bright-lime);
    font-weight: 600;
}

.news__title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.news__excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.news__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 192, 29, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-fast);
    text-decoration: none;
}

.news__footer {
    position: absolute;
    bottom: 20px;
}

.news__card .news__content {
    display: flex;
    flex-direction: column;
    height: max-content;
    margin-bottom: 2vw;
}

/* ===== SECTION ACTIONS ===== */
.section__actions {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.section__actions .btn {
    min-width: 200px;
}

/* ===== CONTACT SECTION ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
}

.contact__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.contact__image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    max-height: 500px;
}

.contact__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.contact__image:hover img {
    transform: scale(1.05);
}

/* .contact__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 51, 0, 0.8), rgba(139, 192, 29, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-medium);
} */

.contact__image:hover .contact__image-overlay {
    opacity: 1;
}

.contact__image-overlay .overlay__content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact__image-overlay .overlay__content p {
    color: var(--light-cream);
    font-size: 1rem;
}

.contact__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-medium);
}

.contact__card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 192, 29, 0.5);
}

.contact__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--bright-lime));
    border-radius: 50%;
    color: var(--dark-forest);
    flex-shrink: 0;
    overflow: hidden;
}

.contact__icon svg {
    width: 24px;
    height: 24px;
}

.contact__details h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact__details p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===== FORM STYLES ===== */
.contact__form {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    overflow: hidden;
}

.form__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(139, 192, 29, 0.1) 0%, transparent 70%);
    opacity: 0.5;
}

.form {
    position: relative;
    z-index: 2;
}

.form__group {
    position: relative;
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    position: relative;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 192, 29, 0.2);
    border-radius: var(--border-radius-small);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    z-index: 2;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: var(--glow-secondary);
}

.input__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(139, 192, 29, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-small);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 1;
}

.form__input:focus + .input__glow {
    opacity: 1;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 51, 0, 0.9);
    backdrop-filter: blur(10px);
}

    .modal__container {
        position: relative;
        max-width: 900px;
        width: 100%;
        max-height: 90vh;
        background: linear-gradient(135deg, var(--dark-forest), var(--deep-green));
        border: 1px solid rgba(139, 192, 29, 0.3);
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(13, 51, 0, 0.5);
        transform: scale(0.9);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @media (max-width: 768px) {
        .modal {
            padding: 1rem;
        }
        
        .modal__container {
            max-height: 95vh;
            margin: 0;
            overflow-y: auto;
            max-width: none;
            width: 100%;
        }
        
        .modal__content {
            grid-template-columns: 1fr;
            grid-template-rows: auto 1fr;
            min-height: auto;
        }
        
        .modal__image {
            height: auto;
            min-height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal__info {
            padding: 1.5rem;
            overflow-y: visible;
        }

        .modal__description {
            max-height: 150px;
            overflow-y: auto;
            padding-right: 10px;
            margin-bottom: 20px;
        }
        
        .modal__info h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .modal__details {
            margin-bottom: 1.5rem;
        }
        
        .modal__actions {
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .modal__actions .btn {
            width: 100%;
        }
        
        /* Mobile gallery improvements */
        .modal__gallery {
            height: 100%;
        }
        
        .gallery__main {
            min-height: 250px;
            height: 250px;
        }
        
        .gallery__main img,
        .gallery__main video {
            max-height: 200px;
            min-height: auto;
            width: auto;
            height: auto;
            object-fit: contain;
        }
        
        .gallery__thumbs {
            padding: 0.75rem;
            gap: 0.25rem;
            max-height: 80px;
        }
        
        .gallery__thumb {
            width: 50px;
            height: 50px;
        }
        
        .gallery__nav {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }
        
        .gallery__nav--prev {
            left: 5px;
        }
        
        .gallery__nav--next {
            right: 5px;
        }
    }

.modal.active .modal__container {
    transform: scale(1);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 192, 29, 0.3);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal__close:hover {
    background: rgba(139, 192, 29, 0.2);
    transform: scale(1.1);
}

.modal__close svg {
    width: 20px;
    height: 20px;
}

.modal__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
}

.modal__image {
    position: relative;
    overflow: hidden;
}

.modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal__info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.modal__info h3 {
    font-size: 2rem;
    color: var(--bright-lime);
    margin-bottom: 2rem;
}

.modal__details {
    margin-bottom: 2rem;
}

.detail__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(139, 192, 29, 0.2);
}

.detail__item--column {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.detail__item:last-child {
    border-bottom: none;
}

.detail__label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.detail__value {
    color: var(--white);
    font-weight: 600;
}

.modal__description h4 {
    color: var(--bright-lime);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modal__description {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
}

.modal__description::-webkit-scrollbar {
    width: 6px;
}

.modal__description::-webkit-scrollbar-track {
    background: rgba(13, 51, 0, 0.1);
    border-radius: 3px;
}

.modal__description::-webkit-scrollbar-thumb {
    background: rgba(139, 192, 29, 0.5);
    border-radius: 3px;
}

.modal__description::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 192, 29, 0.7);
}

.modal__description p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal__description p:last-child {
    margin-bottom: 0;
}

.modal__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal__actions .btn {
    flex: 1;
    min-width: 120px;
}

/* ===== CONTACT MAP ===== */
.contact__map {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 51, 0, 0.2);
    border: 1px solid rgba(139, 192, 29, 0.2);
}

.contact__map iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: var(--border-radius);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(139, 192, 29, 0.2);
    padding: 3rem 0 1rem;
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__logo {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--bright-lime);
    display: inline-block;
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 400px;
}

.footer__nav h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__nav a:hover {
    color: var(--bright-lime);
}

.footer__contacts h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__contacts ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__contacts a:hover {
    color: var(--bright-lime);
}

.footer__contacts li:not(:has(a)) {
    color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 192, 29, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== GALLERY STYLES (FROM ADMIN) ===== */
.modal__gallery {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.gallery__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.gallery__main img,
.gallery__main video {
    max-width: 100%;
    max-height: 50vh;
    min-height: 400px;
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* Gallery Slider Styles */
.gallery-slider__image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    object-position: center;
}

.gallery-slider__slide {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Mobile gallery fixes */
@media (max-width: 768px) {
    .gallery-slider__slide {
        min-height: auto;
        height: 100%;
    }
    
    .gallery-slider__image {
        object-fit: contain !important;
        max-height: 100%;
        max-width: 100%;
    }
    
    .gallery__main img,
    .gallery__main video {
        min-height: auto !important;
        max-height: 300px !important;
        height: auto !important;
    }
}

.gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 192, 29, 0.8);
    border: none;
    color: var(--dark-forest);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 18px;
    font-weight: bold;
}

.gallery__nav:hover {
    background: var(--bright-lime);
    transform: translateY(-50%) scale(1.1);
}

.gallery__nav--prev {
    left: 10px;
}

.gallery__nav--next {
    right: 10px;
}

.gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: rgba(13, 51, 0, 0.3);
}

.gallery__thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.gallery__thumb.active {
    border-color: var(--bright-lime);
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__thumb.video-thumb {
    position: relative;
}

.gallery__thumb.video-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.video-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-forest) 0%, var(--deep-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-thumb-placeholder::before {
    content: '🎬';
    font-size: 24px;
    opacity: 0.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) and (min-width: 769px) {
    /* Планшетная навигация */
    .nav__menu {
        gap: 1rem;
    }
    
    .nav__link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 1200px) {
    /* All cards are now equal size */
    
    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .hero__content {
        left: 0vw;
        max-width: 500px;
    }

    .hero{
        display: block;
    }
    
    /* .hero__image {
        width: 50%;
        right: -2%;
    } */
}

@media (max-width: 1000px) {
    .hero__content {
        left: -4vw;
        max-width: 450px;
    }
}

/* @media (max-width: 900px) {
    .hero__content {
        left: 0;
        max-width: 100%;
    }
    
    .hero__image {
        width: 45%;
    }
} */

@media (max-width: 1024px) {
    /* Tablet Navigation */
    .nav__menu {
        gap: 1.2rem;
    }

    .nav__logo{
        padding-right: 1rem;
    }
    
    .nav__link {
        font-size: 0.7rem;
        padding: 0.2rem 0.2rem;
    }
    
    /* Tablet Hero Section */
    .hero__content {
        left: 0;
        max-width: 400px;
        top: -4vw;
    }

    .hero{
        display: block;
    }
    
    .hero__image {
        width: 75%;
        right: 0%;
    }
    
    .hero__title {
        font-size: clamp(2.8rem, 5vw, 5rem);
    }
    
    .hero__description {
        font-size: 1.2rem;
    }
    
    /* Tablet About & Stats - One Row */
    .about__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .stat__item {
        padding: 1.5rem;
    }
    
    .stat__number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --card-padding: 24px;
    }

    .hero__image{
        height: auto;
        width: 100%;
    }
    
    /* Mobile Hero Section */
    .hero {
        position: relative;
        min-height: 100vh;
        margin-top: 80px;
        display: block;
        background: 
            linear-gradient(
                180deg, 
                transparent 20%, 
                var(--dark-forest) 37%, 
                var(--forest-green) 70%, 
                var(--forest-green) 100%
            ),
            /* linear-gradient(
                180deg,
                rgba(13, 51, 0, 0.2) 60%,
                rgba(13, 51, 0, 0.4) 80%,
                rgba(13, 51, 0, 0.8) 100%
            ), */
            url('img/dog_main.jpg') center top/cover no-repeat;
        background-size: cover, 100% auto, 100% auto;
        background-position: 0 0, 0 0, center top;
        background-attachment: scroll;
    }
    
    .hero__background {
        display: none;
    }
    
    .hero__gradient {
        display: none;
    }
    
    .hero__container {
        position: relative;
        z-index: 2;
        padding: 4rem 1rem 2rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero__content {
        position: relative;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    
    .modal__content {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 1fr;
    }
    
    .modal__info {
        padding: 2rem;
    }
    
    .modal__info h3 {
        font-size: 1.5rem;
    }
    
    .modal__actions {
        flex-direction: column;
    }
    
    .modal__actions .btn {
        width: 100%;
    }
    
    .contact__map iframe {
        height: 400px;
    }
    
    .nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(13, 51, 0, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(139, 192, 29, 0.2);
        flex-direction: column;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-medium);
    }
    
    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .hero {
        position: relative;
        min-height: 100vh;
        margin-top: 80px;
        display: block;
        background: 
            linear-gradient(
                180deg, 
                transparent 20%, 
                var(--dark-forest) 40%, 
                var(--forest-green) 70%, 
                var(--forest-green) 100%
            ),
            /* linear-gradient(
                180deg,
                rgba(13, 51, 0, 0.2) 60%,
                rgba(13, 51, 0, 0.4) 80%,
                rgba(13, 51, 0, 0.8) 100%
            ), */
            url('img/dog_main.jpg') center top/cover no-repeat;
        background-size: cover, 100% auto, 100% auto;
        background-position: 0 0, 0 -2.5rem, center top;
        background-attachment: scroll;
    }
    
    .hero__background {
        display: none;
    }
    
    .hero__gradient {
        display: none;
    }
    
    .hero__container {
        position: relative;
        z-index: 2;
        padding: 4rem 1rem 2rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero__content {
        position: relative;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    
    .hero__title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero__description {
        font-size: 1.1rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero__scroll {
        display: none;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact__info {
        gap: 1rem;
    }
    
    .contact__image {
        min-height: 300px;
    }
    
    .puppies__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section__actions {
        margin-top: 2rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .breeding__info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 80px;
        min-height: 100vh;
    }
    
    .hero__container {
        padding: 7rem 1rem 2rem;
        min-height: 100vh;
    }
    
    .hero__content {
        padding: 0;
    }
    
    .hero__title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero__description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero__badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero__actions {
        gap: 1rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .stats__grid {
        grid-template-columns: 1fr;
    }
    
    .about__grid,
    .gallery__grid,
    .news__grid {
        grid-template-columns: 1fr;
    }
    
    /* Tablet specific overrides for mobile */
    @media (min-width: 769px) and (max-width: 1024px) {
        .about__grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        
        .stats__grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }
    }
}

/* Performance Optimizations & Fixes */
.hero__content {
    transform: none !important;
}

.gallery__image img,
.news__image img {
    will-change: transform;
}

.btn,
.nav__link,
.about__card,
.gallery__item {
    will-change: transform, box-shadow;
}

/* Additional Mobile Modal Fixes */
@media (max-width: 480px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal__container {
        border-radius: 8px;
        margin: 0;
        max-height: 96vh;
        width: 100%;
    }
    
    .modal__close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
    
    .modal__close svg {
        width: 18px;
        height: 18px;
    }
    
    .modal__info {
        padding: 1rem;
    }
    
    .modal__info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .modal__details {
        margin-bottom: 1rem;
    }
    
    .detail__item {
        padding: 0.5rem 0;
    }
    
    .detail__label,
    .detail__value {
        font-size: 0.9rem;
    }
    
    .modal__description h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .modal__description {
        max-height: 150px;
        overflow-y: auto;
        padding-right: 8px;
    }

    .modal__description::-webkit-scrollbar {
        width: 4px;
    }

    .modal__description::-webkit-scrollbar-track {
        background: rgba(13, 51, 0, 0.1);
        border-radius: 2px;
    }

    .modal__description::-webkit-scrollbar-thumb {
        background: rgba(139, 192, 29, 0.5);
        border-radius: 2px;
    }

    .modal__description::-webkit-scrollbar-thumb:hover {
        background: rgba(139, 192, 29, 0.7);
    }

    .modal__description p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    .modal__description p:last-child {
        margin-bottom: 0;
    }
    
    .gallery__main {
        min-height: 200px !important;
        height: 200px !important;
    }
    
    .gallery__main img,
    .gallery__main video {
        max-height: 180px !important;
    }
    
    .gallery__thumbs {
        padding: 0.5rem;
        max-height: 70px;
    }
    
    .gallery__thumb {
        width: 45px;
        height: 45px;
    }
    
    .gallery__nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
} 

/* ===== ENLARGED PHOTO MODAL FOR USER PAGES ===== */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.photo-modal.active {
    display: flex;
}

.photo-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.photo-modal__container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    background: transparent;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-modal.active .photo-modal__container {
    transform: scale(1);
    opacity: 1;
}

.photo-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    font-size: 18px;
}

.photo-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.photo-modal__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.photo-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 192, 29, 0.8);
    border: none;
    color: var(--dark-forest);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 20px;
    font-weight: bold;
}

.photo-modal__nav:hover {
    background: var(--bright-lime);
    transform: translateY(-50%) scale(1.1);
}

.photo-modal__nav--prev {
    left: -60px;
}

.photo-modal__nav--next {
    right: -60px;
}

/* Отключаем кликабельность фото на больших экранах */
@media (min-width: 769px) {
    .gallery__main img,
    .gallery__thumb img,
    .puppy__image img,
    .gallery__image img {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    /* Скрываем модальное окно увеличенного фото на больших экранах */
    .photo-modal {
        display: none !important;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .photo-modal {
        padding: 0.5rem;
    }
    
    .photo-modal__container {
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .photo-modal__close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .photo-modal__nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .photo-modal__nav--prev {
        left: 10px;
    }
    
    .photo-modal__nav--next {
        right: 10px;
    }
    
    /* Включаем кликабельность фото на мобильных */
    .gallery__main img,
    .gallery__thumb img,
    .puppy__image img,
    .gallery__image img {
        cursor: pointer !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .photo-modal__nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .photo-modal__nav--prev {
        left: 5px;
    }
    
    .photo-modal__nav--next {
        right: 5px;
    }
}

