/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c62828;
    --accent: #0b3550;
    --background: #ffffff;
    --text-dark: #0b2130;
    --text-muted: #6b7680;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --scroll-gap: 20px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #f8f9fa;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #a52222;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 720px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/HHero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    transform: skewX(-2deg);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
    text-decoration: none;
}

.logo:hover {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 1001;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-dark);
    z-index: 9999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transition: right 0.35s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px 0;
}

.mobile-nav-header {
    padding: 20px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header .logo {
    color: var(--white);
    font-size: 20px;
}

.mobile-nav__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: color 0.3s ease;
}

.mobile-nav__close:hover {
    color: var(--primary);
}

.mobile-nav__close:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.mobile-nav__list {
    list-style: none;
    padding: 80px 0 20px;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav__link {
    display: block;
    padding: 18px 24px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid #000000;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
    background: rgba(198, 40, 40, 0.1);
    color: var(--primary);
    transform: translateX(8px);
}

.mobile-nav__link::after {
    content: '→';
    position: absolute;
    right: 24px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(5px);
}

.mobile-nav__link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-divider {
    height: 1px;
    background: #eee;
    margin: 0 30px;
}

.mobile-nav-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.02);
}

.mobile-nav__cta {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mobile-nav__cta:hover {
    background: #a52222;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent);
    text-align: left;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: left;
}

/* Contact Info */
.contact-info {
    padding-right: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-text a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--accent);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: var(--scroll-gap);
    right: var(--scroll-gap);
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.scroll-top:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.scroll-top:hover svg {
    transform: translateY(-2px);
}

/* Loading Modal */
.loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loading-modal.active {
    display: flex;
    pointer-events: all;
}

.loading-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow);
    position: relative;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(198, 40, 40, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-modal-content h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.loading-modal-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.success-modal.active {
    display: flex;
    pointer-events: all;
}

.success-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow);
    position: relative;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 24px;
}

.success-modal-content h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.success-modal-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.success-modal-content .btn {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
    }

    .section-title,
    .section-subtitle {
        text-align: center;
    }

    .contact-item {
        text-align: left;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .trust-content {
        flex-direction: column;
    }

    .trust-item {
        width: 100%;
    }
    
    .trust-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-container {
        height: 400px;
    }
    
    .review-card {
        padding: 25px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-avatar {
        margin-right: 0;
    }
    
    .freelancing-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .freelancing-cta p {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-btns {
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-card {
        padding: 25px;
    }
    
    .secondary-cta {
        padding: 80px 0;
    }
    
    .secondary-cta h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 30px;
    }
    
    .faq {
        padding: 60px 0;
    }
    
    .faq-item {
        margin-bottom: 20px;
    }
    
    .faq-question,
    .faq-answer {
        padding: 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info h3,
    .footer-links h3,
    .footer-social h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .footer-map {
        height: 180px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.9rem;
    }
    
    .lightbox__close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    
    .lightbox__nav {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
    
    .lightbox__nav--prev {
        left: 15px;
    }
    
    .lightbox__nav--next {
        right: 15px;
    }
    
    .lightbox__caption {
        font-size: 1rem;
        margin-top: 12px;
    }
    
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-top svg {
        width: 18px;
        height: 18px;
    }
    
    .loading-modal-content,
    .success-modal-content {
        padding: 30px 20px;
        max-width: 350px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    .success-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .loading-modal-content h3,
    .success-modal-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .loading-modal-content p,
    .success-modal-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .loading-modal-content .btn,
    .success-modal-content .btn {
        padding: 12px;
        font-size: 13px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .review-card {
        transform: none !important;
    }
    
    .mobile-nav {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
    
    .step-card:hover,
    .trust-item:hover,
    .btn:hover {
        transform: none;
    }
    
    .gallery__thumb:hover .gallery__meta {
        opacity: 1;
    }
    
    .gallery__thumb:hover img {
        transform: scale(1.05);
    }
    
    .gallery__item:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .lightbox__nav:hover {
        transform: scale(1.1);
    }
    
    .scroll-top:hover svg {
        transform: translateY(-2px);
    }
}