:root {
    /* Colors */
    --background: #0d1c16;
    /* hsl(147 35% 8%) */
    --primary: #c97c36;
    /* hsl(25 75% 45%) */
    --primary-foreground: #fafafa;
    --secondary: #223930;
    --cream: #f4f1de;
    --cream-muted: #dcd9c6;

    /* Glass Effects */
    --glass-bg: rgba(22, 40, 32, 0.7);
    --glass-border: rgba(43, 85, 68, 0.3);
    --glass-blur: 20px;

    /* Fonts */
    --font-serif: 'Montserrat', sans-serif;
    --font-sans: 'Geologica', sans-serif;

    /* Radii */
    --radius: 0.75rem;

    /* Spacing */
    --container-padding: 1.5rem;
}

@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--cream);
    font-family: var(--font-sans);
    min-height: 100vh;
    padding-bottom: 2rem;
    overflow-x: hidden;
    position: relative;
}

/* Background Elements */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1a2e25 0%, var(--background) 70%);
    z-index: -2;
}

.decorative-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #10b981;
    /* Greenish */
    bottom: -50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #e0a36a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-iso {
    height: 48px;
    width: auto;
}

.logo-text {
    height: 32px;
    width: auto;
    max-width: 200px;
    /* Prevent overflow on very small screens */
}

@media (max-width: 380px) {
    .logo-iso {
        height: 36px;
    }

    .logo-text {
        height: 24px;
    }
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    min-height: 70vh;
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
        text-align: left;
    }
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    /* Mobile default */
    text-align: center;
    width: 100%;
    min-width: 0;
    /* Allows flex child to shrink properly */
}

@media (min-width: 768px) {
    .hero-content {
        align-items: flex-start;
        text-align: left;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(201, 124, 54, 0.1);
    color: var(--primary);
    border: 1px solid rgba(201, 124, 54, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: break-word;
    /* Ensure long words don't overflow */
}

@media (min-width: 768px) {
    .title {
        font-size: 3.5rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    color: var(--cream-muted);
    max-width: 500px;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #d88e48 100%);
    color: var(--primary-foreground);
    box-shadow: 0 4px 15px rgba(201, 124, 54, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 124, 54, 0.4);
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
    .image-container {
        max-width: 450px;
        /* Remove fixed height to allow aspect-ratio to work */
        height: auto;
    }
}

.pet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.image-container:hover .pet-image {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
    z-index: -1;
}

/* Location Section */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
}

.location {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .location {
        grid-template-columns: 1fr 1fr;
    }
}

.location-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.location-info p {
    color: var(--cream-muted);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--cream);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Mobile fix */
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .glass-panel {
        padding: 1.25rem;
    }

    .contact-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.contact-item svg {
    color: var(--primary);
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

@media (max-width: 640px) {
    .blob-1 {
        width: 250px;
        height: 250px;
        right: -50px;
        top: -50px;
    }

    .blob-2 {
        width: 200px;
        height: 200px;
        bottom: -20px;
        left: -50px;
    }
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--cream-muted);
    font-size: 0.875rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive utilities */
@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
}