@charset "8-utf";

/* =========================
   CSS Reset & Base Styles
   ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #282828;
    padding-top: 70px; /* Add space for fixed navbar */
}

/* =========================
   Navigation Bar
   ========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding-top: 1rem;
}

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

.logo img {
    width: 25%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6F5945;
    text-decoration: none;
}

.logo-icon {
    
    font-size: 1.75rem;
}

.logo-text {
    font-size: 1.5rem;
}

.logo a:hover {
    color: #4a3a2f;
}

/* Mobile Menu Toggle Button */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #F1A56B;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #F1A56B;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 2rem 0;
    transition: right 0.3s ease;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1rem 2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover {
    background-color: #f9f9f9;
    color: #6F5945;
}

.nav-cta {
    margin: 1rem 2rem 0;
    display: inline-block;
    background-color: #4093DB;
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-align: center;
}

.nav-cta:hover {
    background-color: #4a3a2f;
}

/* =========================
   Typography
   ========================= */

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: #2c2c2c;
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #6F5945;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a3a2f;
}

/* =========================
   Layout & Container
   ========================= */

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

section {
    padding: 4rem 0;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* =========================
   Hero Section
   ========================= */

.hero {
    /* background-image: url(dhv_logo.png);
    background-repeat: no-repeat;
    background-position: center;
    */
    color: #fff;
    text-align: center;
    padding: 6rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #282828;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: transparent;
    color: #877e75;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button-secondary:hover {
    background-color: #fff;
    color: #6F5945;
}

/* =========================
   Services Section
   ========================= */

.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #6F5945;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

/* =========================
   Why Choose Us Section
   ========================= */

.why-choose {
    background-color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.why-card {
    padding: 2rem;
    border-left: 4px solid #282828;
    background-color: #fafafa;
}

.why-card h3 {
    color: #282828;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: #666;
    margin-bottom: 0;
}

/* =========================
           Portfolio Section with Carousel
           ========================= */
           .portfolio {
            background-color: #f9f9f9;
            padding: 4rem 0;
        }

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

        .portfolio h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .section-intro {
            text-align: center;
            color: #666;
            font-size: 1.125rem;
            margin-bottom: 3rem;
        }

        /* Carousel Container */
        .carousel-container {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }

        /* Carousel Wrapper */
        .carousel-wrapper {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        /* Individual Carousel Items */
        .carousel-item {
            min-width: 100%;
            background-color: #fff;
            position: relative;
        }

        .carousel-image {
            width: 100%;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.5rem;
            font-weight: 600;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .placeholder-text {
            text-shadow: 0 2px 8px rgba(0,0,0,0.5);
            background-color: rgba(0,0,0,0.3);
            padding: 1rem 2rem;
            border-radius: 8px;
        }

        /* Navigation Arrows */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(255,255,255,0.9);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.5rem;
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease, transform 0.2s ease;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .carousel-nav:hover {
            background-color: #fff;
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-nav:active {
            transform: translateY(-50%) scale(0.95);
        }

        .carousel-nav.prev {
            left: 1rem;
        }

        .carousel-nav.next {
            right: 1rem;
        }

        /* Dot Indicators */
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
            padding: 1.5rem 0;
            background-color: #fff;
        }

        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ddd;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            padding: 0;
        }

        .carousel-dot:hover {
            background-color: #999;
            transform: scale(1.2);
        }

        .carousel-dot.active {
            background-color: #282828;
            transform: scale(1.3);
        }


/* =========================
   Process Section
   ========================= */

.process {
    background-color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #282828;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #282828;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    margin-bottom: 0;
}

/* =========================
   Testimonials Section
   ========================= */

.testimonials {
    background-color: #282828;
    color: #fff;
}

.testimonials h2 {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #fff;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 0;
}

/* =========================
   About Section
   ========================= */

.about {
    background-color: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555;
}

/* =========================
   Contact Section
   ========================= */

.contact {
    background-color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #282828;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.phone-large {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.phone-large a, .contact-email a {
    color: #282828;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: bold;
    margin-top: 0;
    padding-left: .25em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #282828;
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    background-color: #282828;
    color: #ffffff;
}

/* When user focuses the field */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.15);
}

/* Invalid AFTER user types */
.contact-form input:invalid:not(:focus):not(:placeholder-shown),
.contact-form textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #d93025;
  background-color: #fff6f6;
}

/* Valid */
.contact-form input:valid,
.contact-form textarea:valid {
  border-color: #1e8e3e;
  background-color: #f6fff9;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* =========================
   Footer
   ========================= */

.footer {
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.footer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .carousel-image {
        height: 250px;
    }

    .placeholder-text {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .portfolio h2 {
        font-size: 2rem;
    }
}

/* =========================
   Mobile Phone Styles (max-width: 768px)
   ========================= */

   @media (max-width: 768px) {
        .hero {
            background-size: 100%;
        }

        .nav-menu a {
            display: block;
            padding: 1rem 2rem;
            color: #434343;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease;
        }
        
        .carousel-image {
            height: 350px;
        }

        .carousel-nav {
            width: 40px;
            height: 40px;
            font-size: 1.25rem;
        }

        .carousel-nav.prev {
            left: 0.5rem;
        }

        .carousel-nav.next {
            right: 0.5rem;
        }

        .placeholder-text {
            font-size: 1.25rem;
            padding: 0.75rem 1.5rem;
        }

        .carousel-caption {
            padding: 1rem 1.5rem;
            font-size: 1rem;
        }
   }

/* =========================
   Tablet Styles (min-width: 768px)
   ========================= */

@media (min-width: 768px) {
    /* Navigation for Desktop */
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        max-width: none;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
    }
    
    .nav-cta {
        margin: 0 0 0 0.5rem;
        padding: 0.5rem 1.25rem;
    }
    
    /* Typography */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   Desktop Styles (min-width: 1024px)
   ========================= */

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }
    
    .hero {
        padding: 8rem 0;
        min-height: 600px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   Print Styles
   ========================= */

@media print {
    .hero,
    .contact-form {
        display: none;
    }
}