* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --beige: #F5F1E8;
    --ivory: #FAF8F3;
    --nude: #E8DCC6;
    --champagne: #E6D5B8;
    --black: #1A1A1A;
    --graphite: #2C2C2C;
    --gold: #B8860B;
    --rose: #D4A5A5;
    --taupe: #A08A7A;
    --mocha: #C4A484;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Lato', 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--ivory);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Cormorant', 'Libre Baskerville', serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--ivory);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--black);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    transition: all 0.3s ease;
}

nav a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 300;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--black);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    opacity: 1;
    color: var(--taupe);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.7) 0%, rgba(250, 248, 243, 0.7) 100%),
                url('../images/1.jpg') center center / cover no-repeat;
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    color: var(--black);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--graphite);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 20px;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--taupe);
    margin-bottom: 15px;
    font-weight: 300;
}

.about-section {
    background-color: var(--beige);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    margin-bottom: 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--ivory);
    padding: 40px 30px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 26, 26, 0.15);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-item {
    margin-bottom: 80px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-item-content.reverse {
    direction: rtl;
}

.service-item-content.reverse > * {
    direction: ltr;
}

.service-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-image:hover::after {
    opacity: 1;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-text h2 {
    margin-bottom: 25px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/5;
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.reviews-section {
    background-color: var(--beige);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.review-card {
    background-color: var(--ivory);
    padding: 35px;
    border-left: 3px solid var(--gold);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--graphite);
    line-height: 1.8;
}

.review-author {
    font-weight: 500;
    color: var(--black);
}

.cta-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--nude) 0%, var(--champagne) 100%);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--black);
    color: var(--ivory);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    font-weight: 400;
    border: 2px solid var(--black);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn > * {
    position: relative;
    z-index: 3;
}

.btn::before {
    display: none;
}

.btn:hover::before {
    display: none;
}

.btn:hover {
    background-color: transparent !important;
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn,
.btn * {
    position: relative;
    z-index: 2;
}

.btn span {
    position: relative;
    z-index: 2;
    color: inherit;
}

.btn:hover span,
.btn:hover,
.btn:hover *,
button.btn:hover,
a.btn:hover,
button.btn:hover *,
a.btn:hover * {
    color: var(--black) !important;
    z-index: 2;
}

.contact-form {
    max-width: 600px;
    margin: 50px auto 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--graphite);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(26, 26, 26, 0.2);
    background-color: var(--ivory);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
    transform: translateY(-2px);
}

.form-group input,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
}

.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: var(--black);
    color: var(--ivory);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--ivory);
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

.copyright a {
    margin: 0 10px;
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background-color: var(--ivory);
    padding: 25px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    border-radius: 4px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-popup.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.privacy-popup p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.privacy-popup-buttons {
    display: flex;
    gap: 10px;
}

.privacy-popup .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.page-header {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--beige);
}

.page-header h1 {
    margin-bottom: 15px;
}

.content-section {
    padding: 60px 20px;
}

.content-section h2 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.success-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.success-page h1 {
    margin-bottom: 20px;
}

.success-page p {
    font-size: 1.1rem;
    color: var(--taupe);
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.features-section {
    padding: 80px 20px;
    background-color: var(--beige);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--ivory);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(26, 26, 26, 0.08);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--taupe);
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.feature-item:hover .feature-icon {
    opacity: 1;
    color: var(--black);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--black);
}

.feature-item p {
    color: var(--graphite);
    line-height: 1.7;
    font-size: 0.95rem;
}

.philosophy-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--beige) 100%);
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    margin-bottom: 40px;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.philosophy-text {
    text-align: left;
}

.philosophy-text .lead {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-style: italic;
    color: var(--black);
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    border-left: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    background-color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.philosophy-text p:not(.lead) {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--graphite);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--ivory);
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
    }

    nav a::after {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item-content.reverse {
        direction: ltr;
    }

    .service-item {
        margin-bottom: 60px;
    }

    .services-grid,
    .portfolio-grid,
    .reviews-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .features-section {
        padding: 60px 20px;
    }

    .features-grid {
        gap: 30px;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .philosophy-section {
        padding: 60px 20px;
    }

    .philosophy-text .lead {
        padding: 20px;
        font-size: 1.3rem;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        min-height: 60vh;
        padding: 60px 20px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 15px;
    }

    .hero {
        padding: 40px 15px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .privacy-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }

    nav ul {
        width: 100%;
        right: -100%;
    }
}

