/* 
   Ave Lucia & Scott Dava's Teacups 
   Premium Design System (Apple-Standard)
   v2.0 - Minimalist, Responsive, Polished
*/

:root {
    /* Core Palette - Minimalist */
    --black: #1d1d1f;
    --white: #ffffff;
    --off-white: #f5f5f7;
    --gray-50: #fbfbfd;
    --gray-100: #e8e8ed;
    --gray-200: #d2d2d7;
    --gray-400: #86868b;
    --gray-600: #6e6e73;
    
    /* Brand Accents - Subtle & Professional */
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --green: #34c759;
    --orange: #ff9500;
    --red: #ff3b30;

    /* Layout & Spacing */
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container-max: 1140px;
    --nav-height: 64px;

    /* Elevations */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 12px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.12);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Animation */
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --duration: 0.5s;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* -----------------------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
    line-height: 1.1;
}

p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.serif-text {
    font-family: 'Outfit', serif;
    font-weight: 300;
    font-style: italic;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.badge.accent {
    background: rgba(0, 113, 227, 0.1);
    color: var(--blue);
}

/* -----------------------------------------------------------------
   NAVIGATION
----------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--black);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: 0.3s;
}

/* -----------------------------------------------------------------
   BUTTONS
----------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
}

.btn-secondary-white {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary-white:hover {
    background: rgba(255,255,255,0.3);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-weight: 600;
    font-size: 1rem;
    gap: 4px;
}

.text-link:hover {
    text-decoration: underline;
}

/* -----------------------------------------------------------------
   HERO SECTION
----------------------------------------------------------------- */
.hero {
    padding: 160px 0 100px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-trust {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
}

.trust-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--black);
}

.trust-item span {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Hero Images */
.floating-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.floating-hero-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: transform 0.6s var(--ease);
}

.floating-hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 500;
}

.overlay-card.top-right {
    top: 40px;
    right: -20px;
}

.overlay-card.bottom-left {
    bottom: 40px;
    left: -30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.dot.active {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.2);
}

/* -----------------------------------------------------------------
   SECTIONS & LAYOUTS
----------------------------------------------------------------- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* -----------------------------------------------------------------
   PUPPY CARDS & GRID
----------------------------------------------------------------- */
.puppy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.curated-grid {
    grid-template-columns: repeat(3, 1fr);
}

.main-gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: 1.5rem;
}

.puppy-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.puppy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.puppy-image-wrapper {
    aspect-ratio: 4/5;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
}

.puppy-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.puppy-card:hover .puppy-main-img {
    transform: scale(1.08);
}

.breed-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.puppy-details {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.puppy-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.puppy-meta {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.puppy-temperament {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-full {
    width: 100%;
}

/* -----------------------------------------------------------------
   GALLERY (MODERN GRID)
----------------------------------------------------------------- */
.our-puppies-gallery {
    background: var(--gray-50);
}

.puppy-gallery-grid,
.puppy-grid.main-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    color: white;
    opacity: 0;
    transition: all 0.4s var(--ease);
    pointer-events: none;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------------------------------
   QUALITY STANDARDS
----------------------------------------------------------------- */
.standard-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.standard-content {
    flex: 1;
}

.standard-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.standard-item {
    display: flex;
    gap: 1.5rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: var(--gray-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.standard-visual {
    flex: 1;
}

.standard-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* -----------------------------------------------------------------
   BREED SPECIALIZATION
----------------------------------------------------------------- */
.breed-focus-card {
    display: flex;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    align-items: stretch;
}

.breed-focus-card.inverted {
    flex-direction: row-reverse;
}

.focus-image {
    width: 50%;
}

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

.focus-text {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '•';
    color: var(--blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.testimonial-card {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.rating {
    color: var(--orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

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

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-meta strong {
    font-size: 0.9rem;
    color: var(--black);
}

.author-meta span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* -----------------------------------------------------------------
   FAQ SECTION
----------------------------------------------------------------- */
.faq-container-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item-collapsible {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.faq-item-collapsible:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-item-collapsible h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* -----------------------------------------------------------------
   CTA BANNER
----------------------------------------------------------------- */
.final-cta {
    padding-top: 0;
}

.cta-banner {
    background: var(--black);
    border-radius: 32px;
    padding: 5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text p {
    color: var(--gray-400);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.cta-banner .btn-primary:hover {
    background: var(--gray-200);
}

/* -----------------------------------------------------------------
   CONTACT PAGE SPECIFICS
----------------------------------------------------------------- */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    align-items: center;
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translateX(5px);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.form-wrapper {
    padding: 3rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.minimal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.minimal-form .form-group {
    margin-bottom: 1.5rem;
}

.minimal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.minimal-form input,
.minimal-form select,
.minimal-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.minimal-form input:focus,
.minimal-form select:focus,
.minimal-form textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* -----------------------------------------------------------------
   ABOUT PAGE SPECIFICS
----------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-card {
    background: var(--black);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transform: rotate(2deg);
}

.experience-card .years {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.standard-card {
    padding: 2.5rem;
    background: var(--gray-50);
    border-radius: 24px;
    position: relative;
}

.card-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-200);
    opacity: 0.5;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

/* -----------------------------------------------------------------
   FOOTER
----------------------------------------------------------------- */
.footer {
    padding: 80px 0 40px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* -----------------------------------------------------------------
   MEDIA QUERIES (RESPONSIVENESS)
----------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .puppy-gallery-grid,
    .puppy-grid.main-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 280px;
    }
    .curated-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .standard-wrapper { flex-direction: column; }
    .breed-focus-card, .breed-focus-card.inverted { flex-direction: column; }
    .focus-image, .focus-text { width: 100%; }
    .focus-image { height: 300px; }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links { display: none; }
    .mobile-nav-toggle { display: flex; }
    
    /* Hero */
    .hero { padding-top: 120px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-visual { order: -1; }
    .hero-actions { justify-content: center; flex-direction: column; }
    .hero-trust { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
    
    /* Grid Resets */
    .grid-2, .grid-3, .contact-grid, .footer-grid, .about-grid, .process-steps, .faq-container-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Gallery */
    .puppy-gallery-grid,
    .puppy-grid.main-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 16px;
    }
    .curated-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.tall { grid-row: span 1; }
    .gallery-item.wide { grid-column: span 2; }

    /* CTA */
    .cta-banner { padding: 3rem 1.5rem; }
    .cta-buttons { flex-direction: column; }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .puppy-gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.wide { grid-column: span 1; }
    .form-wrapper { padding: 1.5rem; }
    .minimal-form .form-row { grid-template-columns: 1fr; }
}
