@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #00a8ff;
    --primary-dark: #0097e6;
    --secondary: #2f3640;
    --accent: #fbc531;
    --bg-light: #f5f6fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #2f3640;
    --text-muted: #718093;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 10%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;
    transition: var(--transition);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.menu-toggle {
    display: none !important;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    transition: var(--transition);
}

.btn-nav:hover {
    transform: scale(1.05);
    background: var(--accent);
    color: var(--secondary) !important;
}

nav.scrolled .nav-links a {
    color: var(--text-main);
    text-shadow: none;
}

nav.scrolled .btn-nav {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url('photos/677975505_122173645988805954_6896222667710771841_n.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.7s;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.9s;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: scale(1.05);
}

/* --- Sections --- */
section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 400px; /* Taller images to match the screenshot */
    border-radius: 30px; /* More rounded corners as in screenshot */
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
    opacity: 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    backdrop-filter: blur(2px); /* Slight blur effect on hover */
}

.gallery-overlay i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.1);
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    width: 100%;
}

.contact-info-list {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    background: var(--primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 10% 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

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

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

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        color: var(--text-main);
        cursor: pointer;
        z-index: 1100;
    }

    nav:not(.scrolled) .menu-toggle:not(.active) {
        color: var(--white);
    }

    .menu-toggle.active {
        color: var(--text-main) !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1);
        transform: translateX(100%);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1050;
    }

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

    .nav-links a {
        color: var(--text-main) !important;
        font-size: 1.2rem;
        margin: 15px 0;
        text-shadow: none;
    }

    .btn-nav {
        margin-top: 20px;
    }

    .contact-container {
        padding: 30px 15px;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .contact-info h3 {
        font-size: 1.8rem;
    }

    .contact-info-list {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        width: 100%;
        justify-content: flex-start;
        padding: 20px;
        background: var(--white);
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        gap: 20px;
    }

    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .contact-item strong {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Image Protection --- */
img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none; /* Disables all clicks, but we want search icon to work */
}

/* Allow clicks on elements that need them but keep images protected */
.gallery-item img, .logo img, .lightbox-content {
    pointer-events: auto; /* Enable for lightbox and gallery triggers */
}

.gallery-item {
    -webkit-touch-callout: none; /* Disable long-press menu on iOS */
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 5%;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}
