/* Global Styles */
:root {
    --sage: #8A9A8A;        /* Primary sage green */
    --sage-light: #B7C4B7;   /* Light sage */
    --sage-dark: #5A6B5A;    /* Deep sage */
    --terracotta: #E27D5E;   /* Warm terracotta accent */
    --cream: #FAF7F2;        /* Warm cream */
    --white: #FFFFFF;
    --charcoal: #2A2F2F;     /* Soft charcoal */
    --gray-light: #F5F5F5;
    --gray: #E0E0E0;
    --text-dark: #333333;
    --text-light: #FAF7F2;
    --gradient: linear-gradient(135deg, var(--sage) 0%, var(--terracotta) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--terracotta);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--sage-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.title-decoration i {
    color: var(--sage);
    font-size: 0.6rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--white);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sage-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--terracotta);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--sage-dark);
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(42, 47, 47, 0.3), rgba(42, 47, 47, 0.4)),
                url('https://images.unsplash.com/photo-1618221195710-dd0b2e9c5e5b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 154, 138, 0.3), rgba(226, 125, 94, 0.2));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(226, 125, 94, 0.3);
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(90, 107, 90, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--sage-dark);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--terracotta);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(226, 125, 94, 0.3);
}

.years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--sage-dark);
}

.about-text p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.design-philosophy {
    background: var(--cream);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--terracotta);
}

.design-philosophy h4 {
    color: var(--sage-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.design-philosophy i {
    color: var(--terracotta);
    margin-right: 10px;
}

.philosophy-signature {
    display: block;
    margin-top: 15px;
    color: var(--sage);
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat i {
    font-size: 2rem;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid rgba(138, 154, 138, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--sage-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--sage-light), var(--cream));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--terracotta);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--sage-dark);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features i {
    color: var(--terracotta);
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--white);
}

.portfolio-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: -10px;
    margin-bottom: 40px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--sage);
    background: transparent;
    color: var(--sage-dark);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    aspect-ratio: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(42, 47, 47, 0.95));
    color: var(--white);
    padding: 20px;
    transition: bottom 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    height: 100%;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s 0.1s;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s 0.2s;
}

.portfolio-overlay .portfolio-zoom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--sage-dark);
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s 0.3s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-zoom {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-zoom:hover {
    background: var(--terracotta);
    color: var(--white);
}

.portfolio-more {
    text-align: center;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--cream);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid var(--sage-light);
    transition: all 0.3s;
}

.process-step:hover .step-icon {
    border-color: var(--terracotta);
    transform: scale(1.1);
}

.step-icon i {
    font-size: 2rem;
    color: var(--terracotta);
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--sage-light), transparent);
}

.process-step:last-child .step-connector {
    display: none;
}

.step-content h3 {
    color: var(--sage-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--terracotta);
    margin-right: 2px;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sage-light);
}

.testimonial-author h4 {
    color: var(--sage-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.testimonial-author p {
    color: #666;
    font-size: 0.85rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--sage-dark);
    margin-bottom: 15px;
}

.contact-info > p {
    color: #666;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--terracotta);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item h4 {
    color: var(--sage-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-item p,
.info-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}

.info-item a:hover {
    color: var(--terracotta);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-links a:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--sage-dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray);
    border-radius: 10px;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--terracotta);
}

.form-group textarea {
    resize: vertical;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.map-overlay i {
    color: var(--terracotta);
    font-size: 1rem;
}

.map-overlay span {
    color: var(--sage-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--sage), var(--sage-dark));
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content i {
    font-size: 3rem;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-family: 'Quicksand', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--sage-dark);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--terracotta);
}

.footer-address h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-address p {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--terracotta);
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

#modalCaption {
    margin: 20px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
    padding: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--terracotta);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--terracotta);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .about-content,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 15px;
        right: -10px;
        bottom: -10px;
    }

    .map-overlay {
        bottom: 10px;
        left: 10px;
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .newsletter {
        padding: 40px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .modal-prev,
    .modal-next {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.portfolio-item,
.process-step,
.testimonial-card {
    animation: fadeInUp 0.6s ease;
}

/* Custom Elements */
.floating-element {
    position: absolute;
    color: rgba(226, 125, 94, 0.1);
    pointer-events: none;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}