@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --slate-charcoal: #2C3E50;
    --burnt-terracotta: #C85A3A;
    --soft-alabaster: #F5F5F0;
    --brushed-silver: #C0C0C0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--slate-charcoal);
    background-color: var(--soft-alabaster);
    line-height: 1.6;
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
}

header {
    background-color: var(--slate-charcoal);
    color: var(--soft-alabaster);
    padding: 1rem 0;
    min-height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--soft-alabaster);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo {
        font-size: 1rem;
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--soft-alabaster);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--burnt-terracotta);
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--soft-alabaster);
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--slate-charcoal);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    nav a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

section {
    margin: 2rem 0;
    padding: 2rem 1rem;
}

section.hero {
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/hero-shelf.jpg') center/cover;
    color: var(--soft-alabaster);
    padding: 8rem 1rem;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background-color: var(--burnt-terracotta);
    color: var(--soft-alabaster);
}

.btn-primary:hover {
    background-color: #B04A2E;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: var(--soft-alabaster);
    border: 2px solid var(--soft-alabaster);
}

.btn-secondary:hover {
    background-color: var(--soft-alabaster);
    color: var(--slate-charcoal);
    transform: scale(1.05);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--slate-charcoal);
    text-align: center;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--slate-charcoal);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.3s ease;
}

.gallery-item.visible {
    opacity: 1;
    animation: fadeInScale 0.8s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--slate-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--brushed-silver);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burnt-terracotta);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

footer {
    background-color: var(--slate-charcoal);
    color: var(--soft-alabaster);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--soft-alabaster);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-column p,
.footer-column a {
    color: var(--brushed-silver);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--burnt-terracotta);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.privacy-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.privacy-links a {
    color: var(--brushed-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-links a:hover {
    color: var(--burnt-terracotta);
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--slate-charcoal);
    color: var(--soft-alabaster);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.privacy-popup.show {
    display: block;
}

.privacy-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-popup-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.privacy-popup-btn.accept {
    background-color: var(--burnt-terracotta);
    color: var(--soft-alabaster);
}

.privacy-popup-btn.accept:hover {
    background-color: #B04A2E;
    transform: scale(1.05);
}

.privacy-popup-btn.decline {
    background-color: transparent;
    color: var(--soft-alabaster);
    border: 2px solid var(--soft-alabaster);
}

.privacy-popup-btn.decline:hover {
    background-color: var(--soft-alabaster);
    color: var(--slate-charcoal);
    transform: scale(1.05);
}

.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.success-page h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--burnt-terracotta);
    margin-bottom: 1rem;
}

.policy-page {
    padding-left: 1rem;
    padding-right: 1rem;
}

.policy-page section {
    max-width: 900px;
    margin: 2rem auto;
}

.policy-page h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.policy-page h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .privacy-popup-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
