/* Base Styles */
:root {
    --primary-color: #2c3e50; /* Deep Navy */
    --accent-color: #f39c12; /* Warm Gold */
    --background-color: #ffffff; /* White */
    --secondary-color: #ecf0f1; /* Light Gray */
    --text-color: #34495e; /* Dark Charcoal */
    --light-text-color: #ecf0f1;

    --border-radius: 8px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    line-height: 1.1;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--background-color);
    border: 2px solid var(--accent-color);
}

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

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

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

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--background-color);
    transition: color var(--transition-speed) ease;
}

.header.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--background-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.header.scrolled .nav-links a {
    color: var(--text-color);
}

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

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

.btn-quote {
    background-color: var(--accent-color);
    color: var(--background-color);
    border: 2px solid var(--accent-color);
}

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

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--background-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

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

.service-cards .card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(20%) sepia(10%) saturate(1000%) hue-rotate(190deg) brightness(90%) contrast(90%); /* Adjust to primary color */
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--background-color);
}

.why-choose-us-section h2 {
    color: var(--background-color);
}

.why-choose-us-section h2::after {
    background-color: var(--accent-color);
}

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

.benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: background-color 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.benefit-item h3 {
    color: var(--background-color);
}

.benefit-item p {
    color: var(--light-text-color);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}

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

.masonry-grid img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

/* Process Section */
.process-section {
    padding: 100px 0;
}

.timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
    max-width: 900px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    padding-left: 50px;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -9px;
}

.timeline-item:nth-child(even)::after {
    left: -9px;
}

.timeline-item h3 {
    color: var(--primary-color);
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--text-color);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-form-container {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 30px;
}

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

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

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1em;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-form-container .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
}

/* Google Map */
.google-map {
    margin-top: 80px;
}

.google-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 60px 0 20px;
    font-size: 0.9em;
}

.footer h3 {
    color: var(--background-color);
    margin-bottom: 20px;
}

.footer p,
.footer a {
    color: var(--light-text-color);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none; /* Hide on smaller screens, will be handled by JS for mobile menu */
    }

    .btn-quote {
        padding: 10px 20px;
    }

    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2em;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-container {
        padding: 30px;
    }

    .google-map {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .hero-buttons .btn {
        display: block;
        margin: 15px auto;
    }

    .service-cards,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd)::after {
        left: 9px;
        right: auto;
    }

    .timeline-item:nth-child(even)::after {
        left: 9px;
    }

    .statistics-section .container {
        grid-template-columns: 1fr 1fr;
    }

    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 1.4em;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.5em;
    }

    .btn-quote {
        font-size: 0.9em;
        padding: 8px 15px;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .stat-label {
        font-size: 1em;
    }

    .google-map iframe {
        height: 300px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.soft-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soft-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.5s ease;
}

.image-hover-zoom img:hover {
    transform: scale(1.05);
}

/* Utility classes for animations */
.animated-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.error-message {
    color: #ff6b6b;
    margin-top: 5px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
