@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --color-cream: #F9F7F3;
    --color-dark-brown: #2E2B28;
    --color-medium-brown: #5A4E42;
    --color-gold: #B8A768;
    --color-green: #356859;
    --color-light-green: #2d5449;
}

[data-theme="dark"] {
    --color-cream: #1a1814;
    --color-dark-brown: #e8e5e1;
    --color-medium-brown: #c4b8ac;
    --color-gold: #d4c985;
    --color-green: #4a7b6a;
    --color-light-green: #5a8b7a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-dark-brown);
    transition: all 0.3s ease;
    line-height: 1.6;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.bg-gradient-radial {
    background: radial-gradient(circle, var(--first-color) 0%, transparent 70%);
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--color-medium-brown);
    color: var(--color-cream);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle:hover {
    background: var(--color-green);
    transform: scale(1.1);
}

.btn-primary {
    background-color: var(--color-green);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(53, 104, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-light-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 104, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-medium-brown);
    border: 2px solid var(--color-medium-brown);
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--color-medium-brown);
    color: var(--color-cream);
    transform: translateY(-2px);
}

.inti-card {
    background: var(--color-cream);
    transition: all 0.5s ease;
    border: 1px solid rgba(90, 78, 66, 0.1);
}

[data-theme="dark"] .inti-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 184, 172, 0.1);
}

.inti-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-gold);
}

.section-bg-alt {
    background: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .section-bg-alt {
    background: rgba(0, 0, 0, 0.2);
}

.gradient-section {
    background: linear-gradient(135deg, var(--color-medium-brown), var(--color-green));
}

.footer-bg {
    background: var(--color-dark-brown);
    color: var(--color-cream);
}

[data-theme="dark"] .footer-bg {
    background: #0f0e0c;
    color: var(--color-dark-brown);
}

.form-input {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--color-cream);
    border: 1px solid rgba(90, 78, 66, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--color-dark-brown);
}

.form-input:focus {
    outline: none;
    background-color: white;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(184, 167, 104, 0.1);
}

[data-theme="dark"] .form-input {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-dark-brown);
}

[data-theme="dark"] .form-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.text-gold {
    color: var(--color-gold);
}

.text-medium-brown {
    color: var(--color-medium-brown);
}

.text-green {
    color: var(--color-green);
}

.bg-medium-brown-10 {
    background-color: rgba(90, 78, 66, 0.1);
}

.border-medium-brown {
    border-color: var(--color-medium-brown);
}

.divider {
    width: 96px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-25 {
    opacity: 0.25;
}

/* Grid and Flex Utilities */
.grid {
    display: grid;
}

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

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

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

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-16 {
    gap: 4rem;
}

.flex {
    display: flex;
}

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

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

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

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

.space-x-1 > * + * {
    margin-left: 0.25rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Spacing */
.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

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

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

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

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

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

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

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

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

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

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

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

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

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

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

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

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

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

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

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

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

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

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

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

.font-mono {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.font-light {
    font-weight: 300;
}

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

.font-semibold {
    font-weight: 600;
}

.italic {
    font-style: italic;
}

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

.leading-tight {
    line-height: 1.25;
}

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

/* Layout */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

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

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

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

.top-1\/4 {
    top: 25%;
}

.top-1\/2 {
    top: 50%;
}

.left-1\/4 {
    left: 25%;
}

.left-1\/2 {
    left: 50%;
}

.bottom-1\/4 {
    bottom: 25%;
}

.bottom-8 {
    bottom: 2rem;
}

.right-1\/4 {
    right: 25%;
}

/* Sizes */
.w-8 {
    width: 2rem;
}

.w-24 {
    width: 6rem;
}

.w-32 {
    width: 8rem;
}

.w-64 {
    width: 16rem;
}

.w-96 {
    width: 24rem;
}

.h-px {
    height: 1px;
}

.h-8 {
    height: 2rem;
}

.h-32 {
    height: 8rem;
}

.h-64 {
    height: 16rem;
}

.h-96 {
    height: 24rem;
}

.h-screen {
    height: 100vh;
}

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

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

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

.max-w-6xl {
    max-width: 72rem;
}

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

.rounded-xl {
    border-radius: 0.75rem;
}

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

.rounded-3xl {
    border-radius: 1.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blur-2xl {
    filter: blur(40px);
}

.blur-3xl {
    filter: blur(64px);
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

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

.border-white {
    border-color: rgb(255 255 255);
}

.border-opacity-10 {
    --tw-border-opacity: 0.1;
}

.border-opacity-20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.resize-none {
    resize: none;
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.transition-all {
    transition-property: all;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
}

.transition-transform {
    transition-property: transform;
}

.transition-opacity {
    transition-property: opacity;
}

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

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

.ease {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:rotate-12 {
    transform: rotate(12deg);
}

.group:hover .group-hover\:text-green {
    color: var(--color-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .md\:col-span-2 {
        grid-column: span 1 / span 1;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
    }
    
    .md\:text-5xl {
        font-size: 2.5rem;
    }
    
    .md\:text-7xl {
        font-size: 3.5rem;
    }
    
    .sm\:flex-row {
        flex-direction: column;
    }
    
    .flex-responsive {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-responsive {
        display: block;
    }
    
    .grid-responsive > * {
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
    
    .md\:text-7xl {
        font-size: 4.5rem;
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}