/* --- RESET & VARIABLES --- */
:root {
    --primary: #008080;   /* Teal */
    --primary-dark: #004d4d;
    --secondary: #2C3E50; /* Dark Blue-Grey */
    --light: #F0F8F8;     /* Very Light Teal */
    --white: #ffffff;
    --text: #333333;
    --gray: #666666;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- ACCESSIBILITY & POLISH --- */

/* Removes the blue "flash" when tapping buttons on mobile */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Prevents dragging/highlighting images and icons */
img, svg {
    user-select: none;
    -webkit-user-select: none; /* Safari support */
}

/* Keyboard Navigation Focus 
   (Only shows outline when using Tab key, not mouse click)
   Uses your theme's primary color automatically
*/
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--primary); /* Adapted to match your theme */
    outline-offset: 3px;
    border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
}

h1, h2, h3, .logo {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}


/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

/* Burger Menu (Hidden on Desktop) */
.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 70px; /* Offset for fixed nav */
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(44, 62, 80, 0.7); /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-list {
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* --- SERVICES SECTION --- */
.bg-light {
    background-color: var(--light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.service-card .icon {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border: 2px solid var(--primary);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* --- CONTACT / FOOTER --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    margin-top: 20px;
}

/* --- CONTACT MAP STYLING --- */
.contact-map {
    width: 100%;
    height: 100%;
    min-height: 350px;
    
    /* Rounded corners for the container */
    border-radius: 12px;
    
    /* Crucial: Cuts off the sharp corners of the iframe */
    overflow: hidden; 
    
    /* A soft, lifting shadow */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.copyright {
    text-align: center;
    padding-top: 120px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 70px;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        padding-top: 50px;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
    }

    .burger {
        display: block;
    }

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

    /* Animate Links */
    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0px); }
    }
    
    .nav-active li {
        animation: navLinkFade 0.5s ease forwards 0.3s;
    }

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

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1; /* Image on top */
    }
}

/* --- HOVER EFFECTS (Desktop Only) --- */
@media (hover: hover) and (pointer: fine) {
    
    .btn-primary:hover {
        background: var(--primary-dark);
    }

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

    .btn-nav:hover {
        background: var(--primary-dark);
    }

    .service-card:hover {
        transform: translateY(-5px);
    }
}

/* --- LEGAL / COOKIES SECTION --- */
.legal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-divider {
    display: block;
    color: var(--primary);
}

.legal-link {
    transition: color 0.3s;
    text-decoration: none;
    color: inherit; /* Inherits gray from .copyright */
}

/* Only show hover effects on devices that support hovering */
@media (hover: hover) {
    .legal-link:hover {
        color: var(--primary);
        text-decoration: underline;
    }
}

/* Mobile: Stack items and hide separator */
@media screen and (max-width: 768px) {
    .legal-content {
        flex-direction: column;
        gap: 5px;
    }
    .legal-divider {
        display: none;
    }
}