/*
 * Cottopia Landing Page Styles
 * Matches the Next.js Tailwind design
 */

:root {
    --color-brand-beige: #EAE0D5;
    --color-brand-sand: #C6AC8F;
    --color-brand-charcoal: #22333B;
    --color-brand-cream: #FDFCFB;

    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", system-ui, sans-serif;
}

/* Base Styles */
.cottopia-wrapper {
    color: var(--color-brand-charcoal);
    font-family: var(--font-sans);
    background-color: var(--color-brand-cream);
    line-height: 1.5;
}

.cottopia-wrapper h1,
.cottopia-wrapper h2,
.cottopia-wrapper h3,
.cottopia-wrapper h4,
.cottopia-wrapper .font-serif {
    font-family: var(--font-serif);
}

.cottopia-wrapper a {
    text-decoration: none;
    color: inherit;
}

/* Utilities (Tailwind Replacements) */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-grow {
    flex-grow: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:px-16 {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .md\:text-7xl {
        font-size: 4.5rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-xl {
        font-size: 1.25rem;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.min-h-screen {
    min-height: 100vh;
}

.h-\[90vh\] {
    height: 90vh;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-xs {
    max-width: 20rem;
}

.text-center {
    text-align: center;
}

.text-balance {
    text-wrap: balance;
}

.uppercase {
    text-transform: uppercase;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-\[1\.1\] {
    line-height: 1.1;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}

.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}

.tracking-\[0\.4em\] {
    letter-spacing: 0.4em;
}

.text-white {
    color: #fff;
}

.text-brand-charcoal {
    color: var(--color-brand-charcoal);
}

.text-brand-sand {
    color: var(--color-brand-sand);
}

.text-brand-cream {
    color: var(--color-brand-cream);
}

.text-green-500 {
    color: #22c55e;
}

.text-red-500 {
    color: #ef4444;
}

.bg-white {
    background-color: #fff;
}

.bg-brand-charcoal {
    background-color: var(--color-brand-charcoal);
}

.bg-brand-cream {
    background-color: var(--color-brand-cream);
}

.bg-brand-beige {
    background-color: var(--color-brand-beige);
}

.rounded-sm {
    border-radius: 0.125rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-2xl {
    border-radius: 1rem;
}

.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-y {
    border-top-width: 1px;
    border-bottom-width: 1px;
}

.border-brand-beige {
    border-color: var(--color-brand-beige);
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-brand-beige-30 {
    border-color: rgba(234, 224, 213, 0.3);
}

.opacity-40 {
    opacity: 0.4;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

.object-cover {
    object-fit: cover;
}

.overflow-hidden {
    overflow: hidden;
}

.brightness-95 {
    filter: brightness(0.95);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

/* Custom Effects */
.glass-morphism {
    background: rgba(253, 252, 251, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(234, 224, 213, 0.3);
}

.hover\:translate-y-\[-2px\]:hover {
    transform: translateY(-2px);
}

.scale-110 {
    transform: scale(1.1);
}

.hover\:scale-100:hover {
    transform: scale(1);
}

.hover\:bg-opacity-90:hover {
    opacity: 0.9;
}

.hover\:text-brand-charcoal:hover {
    color: var(--color-brand-charcoal);
}

.hover\:opacity-100:hover {
    opacity: 1;
}

.hover\:bg-white:hover {
    background-color: #fff;
}

.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}

.bg-brand-beige-20 {
    background-color: rgba(234, 224, 213, 0.2);
}

.text-brand-charcoal\/80 {
    color: rgba(34, 51, 59, 0.8);
}

.text-brand-charcoal\/70 {
    color: rgba(34, 51, 59, 0.7);
}

.text-brand-charcoal\/60 {
    color: rgba(34, 51, 59, 0.6);
}

.text-brand-charcoal\/50 {
    color: rgba(34, 51, 59, 0.5);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Form Elements */
input {
    outline: none;
}

input:focus {
    border-color: var(--color-brand-charcoal);
}

/* SVG Colors */
.text-brand-charcoal svg {
    stroke: currentColor;
}

.text-brand-sand svg {
    stroke: currentColor;
}