* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%); */
    background: #292929;
    color: #e0e0e0;
    min-height: 100vh;
}

/* Navigation Bar */
nav {
    background: rgba(20, 20, 20, 0.95);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #8b4513;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4744f;
    letter-spacing: 1px;
    display: flex;
    /*  align-items: center;*/
    /* vertical centering */
}

.logo-text {
    align-self: center;
    padding: 0 0 0 1em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    color: #d4744f;
}

/* Main Content Area */
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 2rem;
    min-height: calc(100vh - 250px);
}

/* Photo Carousel */
.carousel-container {
    flex: 0 0 550px;
    position: relative;
}

.carousel {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 116, 79, 0.3);
}

.carousel-images {
    position: relative;
    height: 500px;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #888;
    font-size: 1.2rem;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.9);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: #d4744f;
    border-color: #8b4513;
    transform: scale(1.2);
}

/* Main Content */
.content {
    flex: 1;
    background: rgba(40, 40, 40, 0.6);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 116, 79, 0.2);
}

.content h1 {
    color: #d4744f;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #8b4513;
    padding-bottom: 1rem;
}

.content h2 {
    color: #e0a080;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #c0c0c0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(60, 60, 60, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d4744f;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 116, 79, 0.3);
}

.service-card h3 {
    color: #d4744f;
    margin-bottom: 0.8rem;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #d4744f 0%, #8b4513 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(212, 116, 79, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 116, 79, 0.6);
}

/* Footer */
footer {
    background: rgba(20, 20, 20, 0.95);
    padding: 3rem 3rem 1.5rem;
    margin-top: 4rem;
    border-top: 2px solid #8b4513;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4744f;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #c0c0c0;
    text-decoration: none;
    display: block;
    padding: 0.4rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4744f;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #888;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .carousel-container {
        flex: 0 0 auto;
        width: 100%;
    }

    .carousel-images {
        height: 300px;
    }

    nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .content {
        padding: 1.5rem;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content h2 {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        display: block;
        text-align: center;
        padding: 0.9rem 1.5rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }
}

.quote-rotator {
    width: 100%;
    overflow: hidden;
    /* background: #f7f7f7;
background: #151515; */
    /* New gradient background */
    background: linear-gradient(to bottom,
            #151515 0%,
            #292929 100%);
    padding: 12px 0;
    /* border-bottom: 1px solid #e0e0e0; */
}

.quote-track {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5em;
    overflow: hidden;
    position: relative;
}

.quote-text {
    white-space: nowrap;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    /* color: #333; */
    color: #f7f7f7;
    opacity: 0;
}