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

:root {
    --bg-color: #FDFAF6;
    --text-primary: #2C2416;
    --text-secondary: #6B5B45;
    --accent-primary: #8B6F4E;
    --accent-hover: #6B5240;
    --accent-light: #F0E8DD;
    --border-color: #E0D5C5;
    --white: #FFFFFF;
    --success: #5B7A5E;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-primary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-primary);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-primary);
}

.btn-block {
    display: block;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.logo:hover {
    color: var(--accent-hover);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(253, 250, 246, 0.7), rgba(253, 250, 246, 0.9));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 36, 22, 0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

.card p {
    color: var(--text-secondary);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.step-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.step-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.step-img:hover img {
    transform: scale(1.05);
}

.step-content {
    flex: 1;
}

.step-num {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent-light);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.step p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.author-block {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--white);
    padding: 60px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.author-img {
    flex: 0 0 400px;
    border-radius: 8px;
    overflow: hidden;
}

.author-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.author-info {
    flex: 1;
}

.author-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.author-info .subtitle {
    font-family: 'Playfair Display', serif;
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.author-info p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: var(--bg-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 111, 78, 0.1);
}

.form-group input.invalid {
    border-color: #E74C3C;
}

.error-msg {
    color: #E74C3C;
    font-size: 0.85rem;
    position: absolute;
    bottom: -20px;
    left: 0;
    display: none;
}

.form-group input.invalid + .error-msg {
    display: block;
}

.terms-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 15px;
}

.footer {
    background-color: #1A150D;
    color: #E0D5C5;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #E0D5C5;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #A39682;
}

.legal-page {
    padding-top: 150px;
    padding-bottom: 100px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.legal-page p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.legal-page ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.legal-page li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-weight: 500;
}

.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
}

.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: #1A150D;
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--accent-light);
    text-decoration: underline;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 992px) {
    .grid-3, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .author-block {
        flex-direction: column;
        padding: 40px;
    }

    .author-img {
        flex: 0 0 auto;
        width: 100%;
    }

    .step, .step.reverse {
        flex-direction: column;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .grid-3, .gallery-grid, .footer-content {
        grid-template-columns: 1fr;
    }

    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hamburger {
        display: flex;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-container, .author-block {
        padding: 30px 20px;
    }
}
