/* ===== Global Styles ===== */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #f1faee;
    --light-color: #ffffff;
    --dark-color: #333333;
    --text-color: #555555;
    --border-color: #dddddd;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 15px;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 60px;
}

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

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

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

.contact-info {
    display: flex;
    align-items: center;
}

.phone-number {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 500;
}

.phone-number i {
    margin-right: 8px;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light-color);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--light-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

.prev-slide,
.next-slide {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--light-color);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover,
.next-slide:hover {
    background-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 20px;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

.services-cta p {
    margin-bottom: 20px;
}

/* ===== Process Section ===== */
.process {
    padding: 100px 0;
    background-color: var(--light-color);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 30px);
    background-color: var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    margin-right: 30px;
    z-index: 1;
}

.step-content {
    flex: 1;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 4px;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-info {
    text-align: center;
    color: var(--light-color);
    padding: 20px;
}

.gallery-info h4 {
    color: var(--light-color);
    margin-bottom: 10px;
}

.gallery-zoom {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    line-height: 40px;
    margin-top: 15px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-content {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: var(--accent-color) transparent transparent;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    margin: 0 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    margin-top: 30px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-testimonial,
.next-testimonial {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 10px;
    box-shadow: var(--shadow);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dots .dot {
    background-color: #ccc;
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
}

.testimonial-cta {
    text-align: center;
    margin-top: 50px;
}

.testimonial-cta p {
    margin-bottom: 20px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-details h3 {
    margin-bottom: 5px;
}

.estimate-prompt {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-services h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--light-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact a {
    color: #ccc;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--light-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: var(--light-color);
    padding: 10px 0;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .contact-info {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-step:not(:last-child):after {
        display: none;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Mobile Menu ===== */
.mobile-nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-contact {
    margin-top: 20px;
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.delay-1 {
    transition-delay: 0.1s;
}

.fade-in.delay-2 {
    transition-delay: 0.3s;
}

.fade-in.delay-3 {
    transition-delay: 0.5s;
}
