html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #0a0a0a;
    color: #f0f0f0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

* {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

video {
    max-width: 100vw;
    width: 100%;
}

iframe {
    max-width: 100%;
    width: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, rgba(75, 150, 200, 0.15) 0, transparent 40%),
                radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.12) 0, transparent 45%),
                radial-gradient(circle at 50% 100%, rgba(20, 30, 50, 0.2) 0, #0a0a0a 55%, #050505 100%);
    background-size: 160% 160%;
    animation: gradientMove 28s ease-in-out infinite alternate;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 100%;
    }
    50% {
        background-position: 20% 20%, 80% 0%, 40% 80%;
    }
    100% {
        background-position: 0% 40%, 100% 10%, 60% 100%;
    }
}

h1, h2, h3 {
    margin: 0;
}

p {
    margin: 0;
}

main {
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(10, 10, 10, 0.85);
    color: #f0f0f0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1rem;
    }
}

.header.compact {
    padding: 0.5rem 1.5rem;
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

@media (max-width: 600px) {
    .logo-text {
        display: none;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffd700;
}

.nav-links li a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffd700;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.9);
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.mobile-menu a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s, color 0.3s;
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    width: 100%;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    background-color: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.mobile-menu.show {
    max-height: 100vh;
    padding-top: 70px;
}

.mobile-menu.show a {
    opacity: 1;
}

/* Sections */
.section {
    background: radial-gradient(circle at 0% 0%, rgba(75, 150, 200, 0.12), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(255, 215, 0, 0.08), transparent 60%),
                rgba(10, 12, 20, 0.94);
    padding: 3rem 2.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 2rem;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 215, 0, 0.2);
    min-height: auto;
    box-sizing: border-box;
}

.section.alt {
    background: radial-gradient(circle at 0% 100%, rgba(75, 150, 200, 0.08), transparent 55%),
                radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.1), transparent 60%),
                rgba(8, 10, 18, 0.94);
}

.content-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 3rem 2.5rem;
    margin: 0 auto 2rem;
    border-radius: 18px;
    height: 80vh;
    min-height: 600px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.8);
    background-image: url('your-image.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0;
        margin: 0;
        border-radius: 0;
        height: 100vh;
        min-height: 100vh;
        max-height: none;
        width: 100%;
        max-width: 100%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
    pointer-events: none;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .hero-overlay {
        border-radius: 0;
    }
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .bg-video {
        border-radius: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.hero-cta {
    margin-top: 1rem;
}

/* Typography */
h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.section-intro {
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-category {
    text-align: center;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: #ffd700;
    font-weight: 600;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: radial-gradient(circle at 0% 0%, rgba(75, 150, 200, 0.15), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(255, 215, 0, 0.1), transparent 60%),
                rgba(12, 15, 25, 0.97);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(75, 150, 200, 0.8), rgba(255, 215, 0, 0.8));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 215, 0, 0.6);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Info / Pricing sections */
.info-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: radial-gradient(circle at 0% 0%, rgba(75, 150, 200, 0.12), transparent 55%),
                rgba(10, 12, 20, 0.95);
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
}

.info-card h3 {
    margin-bottom: 0.75rem;
}

.info-card p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 0.98rem;
}

.price-grid {
    margin-top: 1.5rem;
}

.price-card {
    min-height: 0;
}

.price-highlight {
    color: #ffd700;
    font-weight: 600;
}

.price-note {
    margin-top: 1.5rem;
    text-align: center;
    color: #d0d0d0;
    font-size: 0.98rem;
}

.service-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    display: inline-block;
}

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

.service-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #e3e3e3;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-subtitle {
    color: #ccc;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0.5rem;
    line-height: 1.6;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #ccc;
    font-style: italic;
}

.cta-button {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #1a1a1a;
    padding: 1rem 2.5rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-card {
    background: radial-gradient(circle at 0% 0%, rgba(75, 150, 200, 0.12), transparent 55%),
                rgba(12, 15, 25, 0.97);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.contact-card-reveal,
.contact-card-link {
    cursor: pointer;
    position: relative;
}

.contact-card-reveal:hover,
.contact-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 215, 0, 0.5);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 215, 0, 0.5);
}

.contact-icon {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-link:hover {
    color: #ffd700;
}

.phone-link,
.email-link {
    cursor: pointer;
    display: block;
    width: 100%;
}

.phone-text,
.email-text {
    display: inline-block;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.phone-link:hover .phone-text,
.email-link:hover .email-text {
    color: #ffd700;
}

/* Reveal animation */
.phone-link.revealed .phone-text,
.email-link.revealed .email-text {
    animation: revealText 0.6s ease-out;
    color: #ffd700;
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card-reveal.revealed {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 18px 45px rgba(255, 215, 0, 0.2);
}

/* Location Map */
.location-map-container {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    box-sizing: border-box;
}

.location-map-container iframe {
    width: 100%;
    max-width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-overlay-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

.map-overlay-info p {
    margin: 0.3rem 0;
}

.map-overlay-info strong {
    color: #ffd700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(10, 10, 10, 0.95);
    color: #999;
    font-size: 0.9rem;
    margin-top: 2rem;
    position: relative;
    width: 100%;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #1a1a1a;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 999;
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

#scrollTopBtn.show {
    display: flex;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hamburger {
        display: block;
    }

    .section {
        padding: 2.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        font-size: 1rem;
        padding: 0.85rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    .info-grid {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-grid {
        width: 100%;
        max-width: 100%;
    }

    .service-card-wide {
        grid-column: 1;
    }

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

    .about-avatar {
        width: 200px;
        height: 200px;
    }
    
    .location-map-container {
        margin-top: 1.5rem;
    }
    
    .location-map-container iframe {
        height: 350px;
    }
    
    .map-overlay-info {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1rem;
        max-width: 100%;
    }

    #scrollTopBtn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .header {
        padding: 0.75rem 1rem;
        width: 100%;
        max-width: 100vw;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100vw;
    }

    h2 {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
    
    .content-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
}
