/* ========================================
   Rose City Paws - Stylesheet
   Playful Portland Aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --rose-pink: #E8B4B8;
    --rose-pink-dark: #D49196;
    --rose-pink-light: #F5D5D8;
    --mint-green: #A8E6CF;
    --mint-green-dark: #7DD3B0;
    --mint-green-light: #D4F5E6;
    --cream: #FFF9F0;
    --charcoal: #2D3436;
    --gray: #636E72;
    --gray-light: #B2BEC3;
    --white: #FFFFFF;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

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

p {
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    background: var(--mint-green-light);
    color: var(--charcoal);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--rose-pink);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(232, 180, 184, 0.4);
}

.btn-primary:hover {
    background: var(--rose-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 180, 184, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--rose-pink);
    color: var(--rose-pink-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--gray);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--rose-pink-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose-pink);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-primary {
    color: var(--white);
    padding: 10px 20px;
}

.nav-link.btn-primary::after {
    display: none;
}

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--rose-pink-light) 50%, var(--mint-green-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.paw-print {
    position: absolute;
    font-size: 4rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.paw-1 { top: 10%; left: 10%; animation-delay: 0s; }
.paw-2 { top: 30%; right: 15%; animation-delay: 1.5s; }
.paw-3 { bottom: 20%; left: 20%; animation-delay: 3s; }
.paw-4 { bottom: 30%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.feature-icon {
    font-size: 1.25rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-dog {
    position: relative;
}

.dog-illustration {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.dog-head {
    font-size: 8rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bubble {
    position: absolute;
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
    animation: pop 3s ease-in-out infinite;
}

.bubble-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.bubble-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes pop {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--cream);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--mint-green);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: wiggle 3s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon { animation-delay: 0.5s; }
.service-card:nth-child(3) .service-icon { animation-delay: 1s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.5s; }
.service-card:nth-child(5) .service-icon { animation-delay: 2s; }
.service-card:nth-child(6) .service-icon { animation-delay: 2.5s; }

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.service-card h3 {
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-price {
    display: inline-block;
    background: var(--rose-pink);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--mint-green-light) 0%, var(--cream) 100%);
}

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

.gallery-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.dog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: transform 0.3s ease;
}

.dog-1 { background: linear-gradient(135deg, #FFE5E5 0%, #FFD5D5 100%); }
.dog-2 { background: linear-gradient(135deg, #FFF5E5 0%, #FFE5C5 100%); }
.dog-3 { background: linear-gradient(135deg, #E5F5FF 0%, #D5EBFF 100%); }
.dog-4 { background: linear-gradient(135deg, #F0FFE5 0%, #E5FFD5 100%); }

.gallery-item:hover .dog-placeholder {
    transform: scale(1.1);
}

.dog-placeholder p {
    font-size: 1rem;
    font-family: var(--font-heading);
    color: var(--gray);
    margin-top: 8px;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
}

.gallery-caption h4 {
    color: var(--charcoal);
    margin-bottom: 4px;
}

.gallery-caption p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   About Section
   ======================================== */

.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rose-pink-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-illustration {
    width: 100%;
    max-width: 400px;
}

.shop-front {
    background: var(--rose-pink-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    border: 4px solid var(--rose-pink);
}

.shop-sign {
    background: var(--rose-pink);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.shop-window {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 3rem;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

/* ========================================
   Booking Section
   ======================================== */

.booking {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--rose-pink-light) 0%, var(--mint-green-light) 100%);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.booking-info h2 {
    margin-bottom: 1.5rem;
}

.booking-info > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
    background: var(--white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-item strong {
    display: block;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

.booking-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose-pink);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

.form-success h3 {
    color: var(--charcoal);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray);
    margin: 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-light);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--rose-pink);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--rose-pink);
}

.footer-contact p {
    color: var(--gray-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .booking-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .dog-illustration {
        width: 250px;
        height: 250px;
    }
    
    .dog-head {
        font-size: 6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form-container {
        padding: 24px;
    }
}
