@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-grey: #36454F;
    --matte-silver: #C0C0C0;
    --ivory-white: #FFFFF0;
    --espresso-brown: #4A2C2A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', serif;
    background-color: var(--ivory-white);
    color: var(--charcoal-grey);
    line-height: 1.6;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Perpetua Titling MT', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--charcoal-grey);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

header {
    background-color: var(--charcoal-grey);
    color: var(--ivory-white);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    background-color: rgba(54, 69, 79, 0.95);
    padding: 0.7rem 2rem;
}

.logo {
    font-family: 'Perpetua Titling MT', 'Times New Roman', serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ivory-white);
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--ivory-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu li a:hover {
    color: var(--matte-silver);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--ivory-white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

main {
    margin-top: 70px;
}

section {
    margin: 2rem 0;
    padding: 2rem;
}

.hero {
    background: linear-gradient(135deg, var(--charcoal-grey) 0%, var(--espresso-brown) 100%);
    color: var(--ivory-white);
    padding: 8rem 2rem;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: var(--ivory-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--ivory-white);
    background-color: transparent;
    color: var(--ivory-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'EB Garamond', serif;
}

.btn:hover {
    background-color: var(--ivory-white);
    color: var(--charcoal-grey);
}

.btn-primary {
    background-color: var(--matte-silver);
    color: var(--charcoal-grey);
    border-color: var(--matte-silver);
}

.btn-primary:hover {
    background-color: var(--ivory-white);
    border-color: var(--ivory-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.image-item:nth-child(1) { animation-delay: 0.1s; }
.image-item:nth-child(2) { animation-delay: 0.2s; }
.image-item:nth-child(3) { animation-delay: 0.3s; }
.image-item:nth-child(4) { animation-delay: 0.4s; }
.image-item:nth-child(5) { animation-delay: 0.5s; }

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: blur(2px);
}

.image-item.loaded img {
    filter: blur(0);
}

.image-item:hover img {
    transform: scale(1.05);
}

.blinds-image {
    position: relative;
    overflow: hidden;
}

.blinds-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 8%,
        rgba(0, 0, 0, 0.1) 8%,
        rgba(0, 0, 0, 0.1) 9%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blinds-image:hover::before {
    opacity: 1;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

footer {
    background-color: var(--charcoal-grey);
    color: var(--ivory-white);
    padding: 3rem 2rem 1.5rem;
    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-section h3 {
    color: var(--ivory-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--matte-silver);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--ivory-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--matte-silver);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--ivory-white);
}

form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--ivory-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--charcoal-grey);
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--matte-silver);
    border-radius: 4px;
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    outline: none;
    border-color: var(--charcoal-grey);
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    cursor: pointer;
}

ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

ul li, ol li {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal-grey);
    color: var(--ivory-white);
    padding: 2rem;
    z-index: 2000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

.privacy-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

.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-text {
    flex: 1;
    min-width: 300px;
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-popup button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--ivory-white);
    background-color: transparent;
    color: var(--ivory-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'EB Garamond', serif;
}

.privacy-popup button:hover {
    background-color: var(--ivory-white);
    color: var(--charcoal-grey);
}

.privacy-popup button.accept {
    background-color: var(--matte-silver);
    color: var(--charcoal-grey);
    border-color: var(--matte-silver);
}

.privacy-popup button.accept:hover {
    background-color: var(--ivory-white);
    border-color: var(--ivory-white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    h2{
        font-size: 0.8rem;  
    }
    h3{
        font-size: 0.8rem !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 54px;
        flex-direction: column;
        background-color: var(--charcoal-grey);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        padding: 4rem 1rem;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    section {
        padding: 1.5rem 1rem;
    }
    
    .privacy-policy,
    .terms-of-use,
    .return-policy,
    .cookies-policy {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .privacy-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-popup-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .privacy-popup button {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 1rem 0.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

