@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --warm-linen: #F5F1EB;
    --charcoal-grey: #2C2C2C;
    --soft-terracotta: #C97D60;
    --cream-white: #FFFBF5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--warm-linen);
    color: var(--charcoal-grey);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--charcoal-grey);
    margin-bottom: 1rem;
}

header {
    background-color: var(--cream-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--soft-terracotta);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--charcoal-grey);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--soft-terracotta);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal-grey);
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--cream-white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 1rem;
}

section {
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.hero {
    margin-top: 0;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-curtains.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 44, 44, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--cream-white);
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

.hero-content h1 {
    color: var(--cream-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--soft-terracotta);
    color: var(--cream-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cream-white);
    border: 2px solid var(--cream-white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.content-section {
    padding: 2rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--cream-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.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(--charcoal-grey);
    color: var(--cream-white);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    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(--cream-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-column p,
.footer-column a {
    color: var(--warm-linen);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-column a:hover {
    color: var(--soft-terracotta);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--warm-linen);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--soft-terracotta);
}

.privacy-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--cream-white);
    box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
    padding: 1.5rem;
    z-index: 2000;
}

.privacy-popup.active {
    display: block;
}

.popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.popup-text {
    flex: 1;
    min-width: 250px;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
}

.popup-buttons button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-accept {
    background-color: var(--soft-terracotta);
    color: var(--cream-white);
}

.popup-decline {
    background-color: var(--charcoal-grey);
    color: var(--cream-white);
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.success-content {
    max-width: 600px;
}

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--soft-terracotta);
}

.policy-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.policy-page h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.policy-page h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-page p {
    margin-bottom: 1rem;
}

.policy-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-page li {
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    nav ul {
        display: none;
    }
    .mobile-nav ul {
        display: flex;
    }
    .content-section{
        padding: 0 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
