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

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #0066cc;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #0066cc;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #00a8e8 100%);
    color: white;
    padding: 8rem 5%;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1a5f3f;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    color: white;
}

/* Services */
.services {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 3.5rem;
    color: #212529;
    text-align: center;
}

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

.service-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 1rem;
    color: #0066cc;
    font-weight: 600;
}

.service-price {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #0052a3 0%, #00a8e8 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 82, 163, 0.2);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.service-specialties {
    margin-top: 1.25rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.service-specialties li {
    background: #ffffff;
    border: 1px solid #d6e4ff;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 13px;
    font-weight: 500;
    color: #2c538d;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.08);
    transition: all 0.2s ease;
}

.service-specialties li:hover {
    background: #f0f7ff;
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.15);
}

.specialty-link {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: color 0.2s ease;
}

.specialty-link:hover {
    color: #0066cc;
    text-decoration: none;
}

/* Why section */
.why-us {
    background: #f8f9fa;
    padding: 6rem 5%;
    margin-top: 3rem;
}

.why-us-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.feature {
    display: flex;
    gap: 1.5rem;
}

.feature-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #0066cc;
    min-width: 50px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Stats */
.stats {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    color: white;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* Gallery */
.gallery {
    padding: 6rem 5%;
    background: #f0f8ff;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact */
.contact {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 2rem;
    color: #212529;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-label {
    font-weight: 600;
    color: #0066cc;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 18px;
    color: #212529;
}

.contact-value a {
    color: #0066cc;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0066cc;
}

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

.form-group--error input,
.form-group--error textarea,
.form-group--error .form-input,
.form-group--error .form-textarea {
    border-color: #df5f5f;
}

.form-error-message {
    background: #fff3cd;
    color: #856404;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #ffeaa7;
}

.form-success-message {
    background: #d4edda;
    color: #155724;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.form-error {
    color: #df5f5f;
    font-size: 12px;
}

.submit-btn,
.submit-btn--primary,
.contact-form button {
    background: #0066cc;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover,
.contact-form button:hover {
    background: #0052a3;
}

.form-success {
    margin-top: 0.8rem;
    color: #1a5f3f;
    font-weight: 600;
}

/* Footer */
footer {
    background: #212529;
    color: white;
    text-align: center;
    padding: 2rem 5%;
    margin-top: 3rem;
    font-size: 14px;
}

footer a {
    color: #00a8e8;
}

/* Messages */
.messages {
    position: fixed;
    top: 90px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.message {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(33, 37, 41, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.message--success {
    border-color: rgba(0, 168, 232, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero {
        padding: 6rem 8% 5rem;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid,
    .features-grid,
    .gallery-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

