:root {
    --primary: #F2E9E4;
    --secondary: #3C3C3C;
    --accent: #A3A380;
    --highlight: #C97B63;
    --light: #FFFFFF;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--primary);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--highlight);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}

.btn {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--highlight);
    color: var(--light);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-medium);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn:hover:before {
    transform: translateX(100%);
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--highlight);
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.column-2 {
    grid-template-columns: repeat(2, 1fr);
}

.column-3 {
    grid-template-columns: repeat(3, 1fr);
}

.column-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .column-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .column-3, .column-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .column-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-md) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hidden-md {
        display: none;
    }
    .hero-title{
        font-size: 2rem; !important;
    }
}

@media (max-width: 576px) {


    html {
        font-size: 14px;
    }

    .column-3, .column-4 {
        grid-template-columns: 1fr;
    }

    .container {
        width: 95%;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
}

.animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-medium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.nav-logo span {
    display: inline-block;
    margin-right: 8px;
    width: 30px;
    height: 30px;
    background-color: var(--highlight);
    color: var(--light);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: var(--space-md);
}

.nav-links a {
    position: relative;
    font-weight: 500;
}

.nav-links a:before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--highlight);
    transition: width var(--transition-medium);
}

.nav-links a:hover:before {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    margin: 5px;
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background-color: rgba(242, 233, 228, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xs) 0;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--primary);
        transition: right var(--transition-slow);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav-links li {
        margin: var(--space-sm) 0;
    }

    .burger {
        display: block;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .burger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url("../gallery/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--primary) 70%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--space-md);
    margin-top: var(--space-lg);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.3s forwards;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.6s forwards;
    color: white;
}

.hero-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.9s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent), var(--highlight));
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -200px;
    animation-duration: 35s;
}

.shape:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -100px;
    animation-duration: 30s;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 30%;
    animation-duration: 25s;
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(100px, 50px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.services {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.services:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.1;
}

.services:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--highlight);
    opacity: 0.1;
}

.service-card {
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    transition: transform var(--transition-medium);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(163, 163, 128, 0.1) 0%, rgba(201, 123, 99, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover:before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: var(--space-sm);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.about-section {
    position: relative;
    overflow: hidden;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: var(--space-md);
}

.about-title {
    margin-bottom: var(--space-md);
}

.about-text {
    margin-bottom: var(--space-md);
}

.projects {
    background-color: var(--light);
}

.project-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: var(--space-md);
    background-color: var(--light);
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-box {
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

.contact-title {
    margin-bottom: var(--space-md);
}

.contact-info {
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--highlight);
    margin-right: var(--space-sm);
}

.contact-form {
    margin-top: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-control {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-secondary);
    transition: border var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.form-check input {
    margin-right: var(--space-xs);
    margin-top: 5px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.footer {
    background-color: var(--secondary);
    color: var(--light);
    padding: var(--space-md) 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-right: var(--space-md);
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(60, 60, 60, 0.95);
    color: var(--light);
    padding: var(--space-md);
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
}

.cookie-text {
    flex: 1;
    margin-right: var(--space-md);
}

.cookie-buttons {
    display: flex;
}

.cookie-btn {
    margin-left: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-secondary);
}

.accept-cookies {
    background-color: var(--highlight);
    color: var(--light);
}

.reject-cookies {
    background-color: transparent;
    color: var(--light);
    border: 1px solid var(--light);
}

.page-404 {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--highlight);
    line-height: 1;
}

.error-text {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.thank-you-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--highlight);
    margin-bottom: var(--space-md);
}

.thank-you-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.thank-you-text {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    max-width: 600px;
}

.legal-page {
    padding: var(--space-xl) 0;
}

.legal-content {
    background-color: var(--light);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-title {
    margin-bottom: var(--space-md);
}

.legal-section {
    margin-bottom: var(--space-md);
}

.legal-section-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.home-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.home-button i {
    margin-right: var(--space-xs);
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.backdrop.active {
    display: block;
}

.scroll-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    background-color: var(--highlight);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 99;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

.cookie-consent{
    display: flex;
    flex-direction: column;
}

.cookie-consent {
    display: none;

}
.cookie-consent.active { 
    display: flex;
}