:root {
    --primary-color: #e67e22;
    --secondary-color: #2c2e50;
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: #ffffff;
    --card-bg: #f4f4f4;
    --service-card-bg: #ffffff;
    --border-color: #ddd;
    --footer-bg: #2c2e50;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
}


body.dark-mode {
    --primary-color: #fb923c;
    --secondary-color: #e2e8f0;
    --bg-color: #0f172a;
    --text-color: #cbd5e1;
    --header-bg: #1e293b;
    --card-bg: #1e293b;
    --service-card-bg: #334155;
    --border-color: #475569;
    --footer-bg: #020617;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}


body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: var(--secondary-color);
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana,sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}
#loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}
#loader img{
    width: 150px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {transform: scale(1); opacity: 1;}
    50% {transform: scale(1.1); opacity: 0.8;}
    100% {transform: scale(1); opacity: 1;}

}
.loader-hidden{
    opacity: 0;
    visibility: hidden;
}

a{
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
ul{
    list-style: none;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}
header{
    background-color: var(--header-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top:0;
    z-index: 1000;
    padding: 1rem;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    z-index: 101;
}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--header-bg);
    transition: left 0.3s ease-in-out;
    z-index: 100;
}

.nav-links.active {
    left: 0;
}

.nav-links li a {
    font-size: 1.5rem;
    font-weight: bold;
}

.hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: transform 0.3s;
    color: var(--text-color);
}

#theme-toggle:hover {
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background: none;
        gap: 1.5rem;
    }

    .nav-links li a {
        font-size: 1rem;
        font-weight: 600;
    }

    #theme-toggle {
        font-size: 1.2rem;
    }
}

section{
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
h1,h2,h3{
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

#hero{
    height: 100vh;
    max-width: 100%;
    padding: 0;

    background-image: url('../images/dev.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    align-items: center;
}
#hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
#hero .hero-logo{
    position: relative;
    z-index: 2;
    max-width: 80%;
    width: 400px;
    height: auto;
}
#hero p{
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

#about {
    text-align: center;
    background-color: var(--bg-color);
}
#about p{
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
}


#pricing {
    background-color: var(--card-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--service-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-highlight {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.specs-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    flex-grow: 1;
}

.specs-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.specs-list li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-button {
    display: block;
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: auto;
}

.cta-button:hover {
    background-color: #d35400;
}


#process {
    background-color: var(--bg-color);
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 20px 0;
}


.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.step {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    text-align: right;
}


.step:nth-child(odd) {
    left: 0;
}


.step:nth-child(even) {
    left: 50%;
    text-align: left;
}


.step::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--bg-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}


.step:nth-child(even)::after {
    left: -12px;
}


.content {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 6px;
    box-shadow: var(--shadow);
}


@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .step {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }

    .step:nth-child(even) {
        left: 0;
    }


    .step::after {
        left: 19px;
    }

    .step:nth-child(even)::after {
        left: 19px;
    }
}
#area{
    background-color: var(--card-bg);
    text-align: center;
}


#map {
    width: 100%;
    height: 500px;
    margin-top: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: left;
}

.leaflet-container img {
    max-width: none !important;
    max-height: none !important;
}

#contact{
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
#contact p{
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
#contact a{
    color: var(--primary-color);
    font-weight: bold;
    transition: text-decoration 0.3s;
}
#contact a:hover{
    text-decoration: underline;
}
footer{
    background-color: var(--footer-bg);
    color: #ecf0f1;
    padding: 3rem 1rem 1rem;
}
.footer-container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.footer-column h3{
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-column p, .footer-column li{
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #bdc3c7;
}
.footer-column a:hover{
    color: var(--primary-color);
    text-decoration: underline;
}
.footer-bottom{
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.85rem;
    color: #7f8c8d;
}

@media(min-width: 768px){
    .footer-container{
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-column{
        flex: 1;
        padding: 0 1rem;
    }

}
.hidden{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.show{
    opacity:1;
    transform: translateY(0);
}
.service-card:nth-child(2) {transition-delay: 0.2s;}
.service-card:nth-child(3) {transition-delay: 0.4s;}
.step:nth-child(2){transition-delay: 0.2s;}
.step:nth-child(3){transition-delay: 0.4s;}