:root {
    --primary-color: #f39c12;
    --primary-dark: #e67e22;
    --bg-dark: #000000;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #111;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #000;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.brand-logo {
    height: 60px; /* Reduced from default to fit menu */
    width: auto;
}

.slide-brand-logo {
    height: 100px; /* Bigger logo for hero section */
    width: auto;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.hero {
    height: calc(100vh - 92px); /* Viewport height minus header height */
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('img/Slide1.webp');
}

.slide-2 {
    background-image: url('img/Slide2.webp');
}

.slide-content {
    max-width: 600px;
    padding-left: 5rem;
    z-index: 2;
}

.slide-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.slide-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.slide-logo span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.slide h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.slide p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.about {
    background-color: #000;
}

.about-flex {
    display: flex;
    align-items: stretch;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.testimonials {
    background-color: #111;
}

.testimonials h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 2rem 2rem; /* Added horizontal padding */
    margin-left: -2rem; /* Offset the container padding */
    margin-right: -2rem; /* Offset the container padding */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.testimonial-wrapper::after {
    content: '';
    flex: 0 0 2rem; /* Adds extra space at the end of the scroll */
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    min-width: 350px;
    background-color: #222;
    padding: 2rem;
    border-radius: 10px;
    scroll-snap-align: center; /* Changed to center for better focus */
    border-bottom: 4px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card h4 {
    color: var(--primary-color);
    text-align: right;
}

footer {
    background-color: #000;
    padding-top: 4rem;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-gray);
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero {
        height: 850px; /* Increased height to provide more vertical space */
    }
    .slide {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
    }
    .slide-1 {
        background-image: url('img/Slide1 - mobile.jpg');
    }
    .slide-2 {
        background-image: url('img/Slide2 - mobile.jpg');
    }
    .slide-content {
        padding: 1rem 1.5rem 60px; /* Extra padding at bottom to push content away from dots */
        margin-top: 100vw;
        text-align: center;
        max-width: 100%;
        background-color: #111;
    }
    .slide h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    .slide p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        display: none;
    }
    .testimonial-card {
        min-width: 280px;
    }
    .slider-nav {
        bottom: 10px; /* Lowered dots to the very bottom */
    }
}
