
:root {
    --primary: #2A3F54;
    --secondary: #C4A77D;
    --accent: #E57373;
    --background: #F5F2ED;
    --card-bg: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border: #E0D9CE;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}


.film-grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/vintage-overlay.jpg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1000;
}


.card-island {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}


.vintage-image {
    filter: sepia(10%) contrast(105%) brightness(95%);
    transition: filter 0.3s ease;
}

.vintage-image:hover {
    filter: sepia(0%) contrast(100%) brightness(100%);
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0.5rem auto 0;
}


.nav-link {
    color: var(--text-primary);
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: var(--secondary);
}

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


.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: #1e2f40;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 63, 84, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(42, 63, 84, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 63, 84, 0.1);
}

.btn-text {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-text:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(196, 167, 125, 0.2);
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background-color: white;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(196, 167, 125, 0.2);
}


.toggle-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

.toggle-checkbox:checked {
    background-color: var(--secondary);
}

.toggle-checkbox::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.toggle-checkbox:checked::before {
    transform: translateX(20px);
}


.iti {
    width: 100%;
}


@media (max-width: 768px) {
    .card-island {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-primary, .btn-secondary, .btn-text {
        width: 100%;
        text-align: center;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}