@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette - Elegant & Professional */
    --primary-color: #8E7C68; /* Warm Taupe */
    --primary-light: #B5A391;
    --accent-color: #D4AF37; /* Subtle Gold */
    --secondary-color: #2C2C2C; /* Deep Charcoal */
    --bg-light: #F9F7F5; /* Soft Off-White */
    --bg-white: #FFFFFF;
    --text-main: #4A4A4A;
    --text-light: #7A7A7A;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --section-padding: 100px 5%;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

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

/* --- Reusable Components --- */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-block {
    width: 100%;
    text-align: center;
}

.tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- Header & Navigation --- */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.main-header.sticky {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */

.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0 30px;
}

.hero-content .highlight {
    color: var(--primary-color);
    font-style: italic;
}

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

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    height: 80%;
    position: relative;
}

.image-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.hero-section:hover img {
    transform: scale(1.1);
}

/* --- Services Section --- */

.services-section {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--bg-white);
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* Service Detail */
.service-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 100px;
    background: var(--bg-light);
    padding: 60px;
}

.detail-text {
    flex: 1;
}

.detail-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-color);
}

.detail-image {
    flex: 1;
}

.detail-image img {
    box-shadow: 30px 30px 0 var(--primary-light);
}

/* --- Gallery Section --- */

.gallery-section {
    padding: var(--section-padding);
    background: var(--secondary-color);
    color: white;
}

.gallery-section .section-header h2 {
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(142, 124, 104, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* --- About Section --- */

.about-section {
    padding: var(--section-padding);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* --- Process Section --- */

.process-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.process-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.process-steps {
    flex: 1;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-white);
    transition: var(--transition-smooth);
}

.step:hover {
    box-shadow: var(--shadow-soft);
}

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.step-info h3 {
    margin-bottom: 10px;
}

.process-image {
    flex: 1;
}

.process-image img {
    border-radius: 200px 200px 0 0;
}

/* --- Testimonials --- */

.testimonials-section {
    padding: var(--section-padding);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.testimonial-card {
    min-width: 45%;
    background: var(--bg-light);
    padding: 50px;
    position: relative;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
}

.author .name {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
}

.author .role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Contact Section --- */

.contact-section {
    padding: var(--section-padding);
}

.contact-container {
    display: flex;
    gap: 80px;
}

.contact-info {
    flex: 1;
}

.info-list {
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--bg-light);
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Footer --- */

.main-footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.7);
    padding: 80px 5% 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.footer-links h3, .footer-newsletter h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: white;
}

.newsletter-form button {
    padding: 0 20px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
    font-size: 0.8rem;
}

/* --- Animations & Reveals --- */

.reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal.active, 
.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive Design --- */

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-section { height: auto; padding: 150px 5% 80px; flex-direction: column; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-image { display: none; }
    .about-container, .process-container, .contact-container, .service-detail { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; }
    .nav-cta { display: none; }
    
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .testimonial-card { min-width: 90%; }
    
    .section-header h2 { font-size: 2rem; }
}
