/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom Colors & Utilities */
.text-gold { color: #d4af37; }
.bg-gold { background-color: #d4af37; }
.border-gold { border-color: #d4af37; }
.bg-gold-hover:hover { background-color: #b8962e; }

.hero-overlay {
    background: linear-gradient(rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.4));
}

/* Hero Background Image Responsive */
.hero-bg {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-bg {
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
    }
}

.grayscale-hover {
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Navbar Transition States */
.nav-scrolled {
    background-color: white !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.nav-scrolled .nav-logo,
.nav-scrolled .nav-sub,
.nav-scrolled .nav-link {
    color: #1e293b !important;
}

.nav-scrolled .nav-link:hover {
    color: #d4af37 !important;
}

.nav-link {
    transition: color 0.3s ease;
}

/* Legacy Support for Forms and other elements */
:root {
    --primary-blue: #1e293b;
    --gold: #d4af37;
    --light-gray: #f8fafc;
    --dark-gray: #334155;
    --text-dark: #0f172a;
    
    /* Colors */
    --color-primary: #0B2447;
    --color-secondary: #0F6B58;
    --color-accent: #E6D8AD;
    --color-bg: #F5F5F7;
    --color-text: #222222;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-error: #D32F2F;
    --color-border: #E0E0E0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

/* Form Styles - Keep existing form functionality */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

/* Keep existing card styles */
.card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.error .error-msg,
.form-check.error .error-msg {
    display: block !important;
}

.form-check.error {
    color: #ef4444;
}

/* Tailwind custom classes */
.text-gold {
    color: #d4af37;
}

.bg-gold {
    background-color: #d4af37;
}

.border-gold {
    border-color: #d4af37;
}

.hover\:bg-yellow-600:hover {
    background-color: #ca8a04;
}

.hover\:text-gold:hover {
    color: #d4af37;
}

/* Spinner Animation */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Additional Tailwind-like utilities */
.shadow-gold\/20 {
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.2), 0 4px 6px -2px rgba(212, 175, 55, 0.05);
}

.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;
}

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

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

/* Focus states for form elements */
.focus\:outline-none:focus {
    outline: none;
}

.focus\:border-gold:focus {
    border-color: #d4af37;
}

/* Rounded styles */
.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

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

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

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

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* Text styles */
.tracking-wider {
    letter-spacing: 0.05em;
}

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

.uppercase {
    text-transform: uppercase;
}

/* Grid utilities */
.md\:col-span-2 {
    grid-column: span 2 / span 2;
}

@media (min-width: 768px) {
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

/* Responsive grid */
.grid {
    display: grid;
}

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

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

/* Flexbox utilities */
.flex {
    display: flex;
}

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

.items-start {
    align-items: flex-start;
}

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

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

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

/* Width and sizing */
.w-full {
    width: 100%;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

/* Responsive width */
@media (min-width: 1024px) {
    .lg\:w-1\/3 {
        width: 33.333333%;
    }
    .lg\:w-2\/3 {
        width: 66.666667%;
    }
    .lg\:flex-row {
        flex-direction: row;
    }
}

/* Padding and margin */
.p-12 {
    padding: 3rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

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

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

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

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

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

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

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

.pt-4 {
    padding-top: 1rem;
}

/* Text sizes */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

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

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

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

/* Font weights */
.font-bold {
    font-weight: 700;
}

/* Colors */
.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-slate-800 {
    background-color: #1e293b;
}

.bg-slate-900 {
    background-color: #0f172a;
}

.text-white {
    color: #ffffff;
}

.text-slate-300 {
    color: #cbd5e1;
}

.text-slate-400 {
    color: #94a3b8;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-700 {
    color: #334155;
}

.text-slate-900 {
    color: #0f172a;
}

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

.border {
    border-width: 1px;
}

.border-slate-200 {
    border-color: #e2e8f0;
}

.border-slate-700 {
    border-color: #334155;
}

/* Shadows */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Flex utilities */
.flex-shrink-0 {
    flex-shrink: 0;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}
