/* CSS Variables for Light and Dark Themes */
:root {
    --color-primary-dark: #131741;
    --color-primary-light: #eeeeec;
    --color-accent: #ff4c01;
    --color-text-dark: #131741;
    --color-text-light: #eeeeec;
    --background-light: #ffffff;
    --background-dark: #131741;

    /* Additional Variables */
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-light);
    color: var(--color-text-dark);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--color-primary-light);
    color: var(--color-text-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
header .logo img {
    height: 50px; /* Adjust as needed */
    width: auto;
    border-radius: 4px; /* Optional: adds slight rounding */
}

/* Navigation Styles */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color var(--transition-speed);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width var(--transition-speed);
}

nav a:hover {
    color: var(--color-accent);
}

nav a:hover::after {
    width: 100%;
}

/* Theme Toggle Button Styles */
.theme-toggle {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.theme-toggle:hover {
    transform: rotate(20deg);
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('assets/background.png'); /* Placeholder Image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    text-align: center;
    padding: 0 20px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(19, 23, 65, 0.6); /* Semi-transparent overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    /* height: 80%; */
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    display: inline-block;
    border-style: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e04300;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Services Section Styles */
#services {
    background-color: var(--background-light);
    color: var(--color-text-dark);
    padding: 120px 40px;
    text-align: center;
}

#services h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;

}

.service {
    background-color: #fdfdfd;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service i {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Testimonials Section Styles */
#testimonials {
    background-color: var(--background-light);
    color: var(--color-text-dark);
    padding: 120px 40px;
}

#testimonials h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #fdfdfd;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: left;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-accent);
}

/* About Section Styles */
#about {
    background-color: var(--background-light);
    color: var(--color-text-dark);
    text-align: center;
    padding: 120px 40px;
}

#about h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section Styles */
#contact {
    background-color: var(--background-light);
    color: var(--color-text-dark);
    text-align: center;
    padding: 120px 40px;
}

#contact h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 76, 1, 0.5);
}

button[type="submit"] {
    align-self: center;
}

/* Form Status Styles */
#form-status {
    margin-top: 20px;
    font-size: 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 20px 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* Dark Theme Styles */
body.dark-theme {
    background-color: var(--background-dark);
    color: var(--color-text-light);
}

body.dark-theme header {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
}

body.dark-theme nav a {
    color: var(--color-text-light);
}

body.dark-theme .hero .overlay {
    background-color: rgba(19, 23, 65, 0.8);
}

body.dark-theme .hero-content {
    color: var(--color-text-light);
}

body.dark-theme .btn {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

body.dark-theme .btn:hover {
    background-color: #e04300;
}

body.dark-theme #services .service,
body.dark-theme #testimonials .testimonial {
    background-color: #2c2c54;
    color: var(--color-text-light);
}
body.dark-theme #services .service i {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

body.dark-theme #about {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
}

body.dark-theme input,
body.dark-theme textarea {
    /* background-color: #2c2c54;
    color: var(--color-text-light); */
    border: 1px solid #555;
}

body.dark-theme button[type="submit"] {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

body.dark-theme button[type="submit"]:hover {
    background-color: #e04300;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }

    nav ul {
        gap: 20px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    #services h3,
    #testimonials h3,
    #about h3,
    #contact h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        /* flex-direction: column;
        align-items: flex-start; */
    }

    nav ul {
        /* flex-direction: column;
        gap: 10px;
        width: 100%; */
    }

    .services-container,
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    #services h3,
    #testimonials h3,
    #about h3,
    #contact h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
