﻿:root {
    --color-primary: #239ddb;
    --color-primary-dark: #1a7db0;
    --color-secondary: #1e293b;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 14px 42px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    border: 2px solid var(--color-primary);
    background-color: var(--color-primary);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.site-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.main-nav .has-dropdown {
    position: relative;
}

.main-nav .dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
display: flex;
flex-direction: column;
gap: 0;			  
}

.main-nav .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    padding: 0;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
}

.main-nav .dropdown-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.64), rgba(0,0,0,0.64)), url('/images/style.jpeg') center 65% / cover no-repeat;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.95);
}

.section {
    padding: 75px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    padding: 40px 30px;
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.blog-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-card-content {
    padding: 30px;
}

.blog-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-article-header {
    margin-bottom: 3rem;
}

.blog-article h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-article-meta {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.blog-article-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.blog-article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 2rem;
}

.blog-article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-article-content img {
    margin: 2rem 0;
    border-radius: 4px;
}

.ad-placeholder {
    background-color: #d1d5db;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.site-footer {
    background-color: var(--color-secondary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .main-nav {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
    }

    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        background-color: var(--color-bg-light);
        margin-top: 10px;
        display: none;
    }

    .main-nav .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section {
        padding: 40px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-article h1 {
        font-size: 2rem;
    }

    .blog-article-content {
        font-size: 1rem;
    }

    .blog-article-content h2 {
        font-size: 1.75rem;
    }

    .blog-article-content h3 {
        font-size: 1.35rem;
    }
}

