/* --- Design Variables --- */
:root {
    --primary: rgb(10, 30, 80);
    --secondary: rgb(100, 160, 240);
    --accent: rgb(200, 50, 40);
    
    --bg-light: #f4f7f9;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(10, 30, 80, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

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

ul {
    list-style: none;
}

/* --- Typography --- */
.underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px 0 20px;
    border-radius: 2px;
}

/* --- Navbar --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

#navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 30, 80, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition-smooth);
}

#navbar.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-fast);
}

#navbar:not(.scrolled) .nav-links a {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #05102a 100%);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(100, 160, 240, 0.15) 0%, transparent 60%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 50, 40, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100, 160, 240, 0.4);
}

/* --- Sections Common --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

/* --- About Section --- */
.about {
    background-color: var(--text-light);
}

.about .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #4a4a4a;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 20px 40px rgba(10, 30, 80, 0.15);
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('logo_transparent.png') center/contain no-repeat;
    opacity: 0.1;
    filter: grayscale(100%) brightness(200%);
    transform: scale(1.2);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 15px;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.5s;
}

.glass-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--secondary);
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--accent);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: #666;
    font-size: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Makes the logo white if needed */
}

.footer-brand p {
    color: var(--text-muted);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact {
    background-color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(10, 30, 80, 0.08);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.card-icon {
    font-size: 2rem;
    background: rgba(100, 160, 240, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.card-details h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.card-sub {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.address-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.call-btn {
    background-color: var(--primary);
    color: var(--text-light);
    border: 1px solid var(--primary);
}

.call-btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 30, 80, 0.2);
}

.whatsapp-btn {
    background-color: #25D366;
    color: #ffffff;
    border: 1px solid #25D366;
}

.whatsapp-btn:hover {
    background-color: transparent;
    color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2);
}

.vcf-btn {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.1);
}

.vcf-btn:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Map Column */
.contact-map {
    height: 100%;
}

.map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 15px 35px rgba(10, 30, 80, 0.12);
    border: 1px solid rgba(10, 30, 80, 0.08);
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.map-snapshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.map-wrapper:hover .map-snapshot {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 30, 80, 0.85) 0%, rgba(10, 30, 80, 0.2) 60%, rgba(10, 30, 80, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: background var(--transition-fast);
}

.map-wrapper:hover .map-overlay {
    background: linear-gradient(to top, rgba(10, 30, 80, 0.95) 0%, rgba(10, 30, 80, 0.3) 60%, rgba(10, 30, 80, 0.2) 100%);
}

.map-overlay-content {
    color: var(--text-light);
    width: 100%;
}

.apple-maps-logo {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 5px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.map-overlay-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-map-action {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(100, 160, 240, 0.3);
    transition: all var(--transition-smooth);
}

.map-wrapper:hover .btn-map-action {
    background-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about .section-container {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transition: right var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.nav-active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }

    .info-card {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-icon {
        margin-bottom: 5px;
    }

    .card-actions {
        justify-content: center;
    }

    .phone-number {
        font-size: 1.5rem;
    }

    .map-wrapper {
        min-height: 300px;
    }
}

/* Hamburger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
