:root {
    --primary: #c41230;
    --primary-dark: #a00e26;
    --secondary: #002b5c;
    --accent: #b89d5d;
    --bg-paper: #fdfcf8;
    --bg-alt: #f4f1ea;
    --text-main: #1a1a1a;
    --text-light: #555555;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-paper);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    flex: 1;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
    font-style: italic;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex: 2;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-container {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(196, 18, 48, 0.2);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.3);
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomHero 20s infinite alternate;
}

@keyframes zoomHero {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-main);
}

/* --- SERVICES --- */
.services {
    padding: 10rem 0;
    background: var(--bg-paper);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-item {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
}

.service-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- GALLERY --- */
.gallery {
    padding: 5rem 0 10rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* --- ABOUT --- */
.about {
    padding: 10rem 0;
    background: var(--bg-alt);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn-text i {
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* --- PROCESS --- */
.process {
    padding: 10rem 0;
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.process-image img {
    width: 100%;
    border-radius: 0 100px 0 100px;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.process-step {
    display: flex;
    gap: 2rem;
}

.step-count {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.process-step h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.process-step p {
    color: var(--text-light);
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 10rem 0;
    background: var(--secondary);
    color: var(--white);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-left: 3px solid var(--accent);
}

.rating {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.testimonial-item p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-item cite {
    display: block;
    font-weight: 600;
    color: var(--accent);
}

/* --- CONTACT --- */
.contact {
    padding: 10rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.contact-info > p {
    margin-bottom: 3rem;
    color: var(--text-light);
}

.info-block {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-block i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.3rem;
}

.info-block h4 {
    margin-bottom: 0.3rem;
}

.contact-visual {
    margin-top: 4rem;
}

.contact-visual img {
    box-shadow: var(--shadow);
}

.contact-form {
    background: var(--white);
    padding: 4rem;
    box-shadow: var(--shadow);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-alt);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--secondary);
    color: var(--white);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* --- FOOTER --- */
.footer {
    background: #0d0d0d;
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--primary);
}

.footer-brand p {
    opacity: 0.6;
}

.footer-nav h4, .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    opacity: 0.6;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    opacity: 0.4;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-flex, .process-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-flex {
        flex-direction: column;
    }
    
    .process-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-grid, .gallery-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Micro-interactions */
.service-item, .gallery-card, .btn-primary, .btn-secondary, .btn-cta, .btn-submit, .social-links a {
    cursor: pointer;
}

::selection {
    background: var(--primary);
    color: var(--white);
}
