:root {
    --gold: #c5a47e;
    --charcoal: #1e1e1e;
    --ivory: #f8f5f0;
    --taupe: #d8c7b5;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--ivory);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s ease;
    background-color: rgba(30, 30, 30, 0.9);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background-color: rgba(30, 30, 30, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ivory);
    text-decoration: none;
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--ivory);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--ivory);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1600121848594-d8644e57abab') no-repeat center center/cover;
}

.hero-content {
    width: 60%;
    z-index: 10;
    color: var(--ivory);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 70%;
    line-height: 1.8;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--ivory);
    padding: 1.2rem 2.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 1px solid var(--gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn:hover {
    color: var(--charcoal);
}

.btn-solid {
    background-color: var(--gold);
    color: var(--charcoal);
    margin-right: 1rem;
}

.btn-solid:before {
    background: var(--ivory);
}

.btn-solid:hover {
    color: var(--charcoal);
}

/* About Section */
.about {
    padding: 10rem 5%;
    display: flex;
    align-items: center;
    background-color: var(--ivory);
    position: relative;
}

.about-image {
    width: 50%;
    height: 700px;
    background-image: url('https://images.unsplash.com/photo-1600210492493-0946911123ea');
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 15px solid var(--gold);
    top: -40px;
    left: -40px;
    z-index: -1;
}

.about-content {
    width: 50%;
    padding-left: 8rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: var(--charcoal);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: -15px;
    left: 0;
    background-color: var(--gold);
}

.section-subtitle {
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-top: 2rem;
}

/* Services Section */
.services {
    padding: 10rem 5%;
    background-color: var(--charcoal);
    color: var(--ivory);
}

.services-header {
    text-align: center;
    margin-bottom: 6rem;
}

.services-header .section-title {
    color: var(--ivory);
}

.services-header .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: rgba(248, 245, 240, 0.05);
    padding: 3rem;
    transition: all 0.5s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    background-color: rgba(248, 245, 240, 0.1);
    border-bottom: 3px solid var(--gold);
    transform: translateY(-10px);
}

.service-number {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--ivory);
}

.service-card p {
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 10px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Portfolio Section */
.portfolio {
    padding: 10rem 5%;
    background-color: var(--ivory);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 6rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: var(--ivory);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.portfolio-overlay p {
    transform: translateY(30px);
    transition: transform 0.5s ease 0.1s;
    font-weight: 300;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Testimonials */
.testimonials {
    padding: 10rem 5%;
    background-color: var(--charcoal);
    color: var(--ivory);
    text-align: center;
}

.testimonials-header {
    margin-bottom: 6rem;
}

.testimonials-header .section-title {
    color: var(--ivory);
}

.testimonials-header .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.client-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    border: 2px solid var(--gold);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.client-name {
    font-weight: 600;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.client-title {
    font-weight: 300;
    opacity: 0.8;
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(248, 245, 240, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 10rem 5%;
    background-color: var(--ivory);
}

.contact-container {
    display: flex;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

.contact-info {
    width: 40%;
    padding: 5rem;
    background-color: var(--charcoal);
    color: var(--ivory);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -15px;
    left: 0;
    background-color: var(--gold);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.2rem;
    color: var(--gold);
    margin-right: 1.5rem;
    margin-top: 5px;
}

.info-content p {
    font-weight: 300;
}

.social-links {
    display: flex;
    margin-top: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(248, 245, 240, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--ivory);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--charcoal);
}

.contact-form {
    width: 60%;
    padding: 5rem;
    background-color: white;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--charcoal);
}

.contact-form h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -15px;
    left: 0;
    background-color: var(--gold);
}

.form-group {
    margin-bottom: 2rem;
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
}

.form-control:focus {
    outline: none;
    border-bottom: 1px solid var(--gold);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--charcoal);
    color: var(--ivory);
    border: none;
    padding: 1.2rem 3rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--gold);
    color: var(--charcoal);
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: var(--ivory);
    padding: 5rem 5% 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 2rem;
    display: inline-block;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
}

.footer-logo span {
    color: var(--gold);
}

.footer p {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-links li {
    margin: 0 1.5rem;
}

.footer-links a {
    color: var(--ivory);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 245, 240, 0.1);
    font-weight: 300;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--gold);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--charcoal);
    position: relative;
}

.modal-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -10px;
    left: 0;
    background-color: var(--gold);
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--charcoal);
}

.modal-form input,
.modal-form textarea,
.modal-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--gold);
}

.modal-form textarea {
    min-height: 120px;
}

.modal-submit-btn {
    background-color: var(--charcoal);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.modal-submit-btn:hover {
    background-color: var(--gold);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.success-message p {
    color: var(--text);
    margin-bottom: 2rem;
}

/* Services Section - Carousel */
.services-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    box-sizing: border-box;
    transition: all 0.3s ease;
    /* Your existing card styles */
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.carousel-prev, .carousel-next {
    background: none;
    border: 2px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    background: #333;
    color: white;
}

.carousel-prev[disabled], .carousel-next[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    background: none;
    color: #333;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #333;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .services-carousel {
        padding: 0 20px;
    }
    
    .service-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .carousel-prev, .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .about-content {
        padding-left: 5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        width: 100%;
    }
    
    .about-image {
        height: 500px;
        margin-bottom: 5rem;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--charcoal);
        flex-direction: column;
        align-items: center;
        padding-top: 5rem;
        transition: left 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links li {
        margin: 0.5rem 0;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-solid {
        margin-right: 0;
    }
    
    .about-image:before {
        top: -20px;
        left: -20px;
    }
    
    .portfolio-item {
        height: 400px;
    }
}