:root {
    --dark: #000000;
    --medium: #1a1a1a;
    --light: #ffffff;
    --accent: #ffffff;
    --text: #2a2a2a;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button, a {
    touch-action: manipulation;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

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

.contact-btn {
    background: var(--accent);
    color: var(--dark);
    padding: 0.75rem 2rem;
    border: 2px solid #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: var(--dark);
    color: var(--accent);
}

/* Floating Phone Button */
.floating-phone {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--dark);
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 28px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    z-index: 999;
    transition: all 0.3s;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.5);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.phone-large {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;
    letter-spacing: 1px;
    text-decoration: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Gallery Section */
.gallery-section {
    background: var(--light);
    padding: 6rem 2rem;
    min-height: 100vh;
}

.gallery-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    text-align: center;
}

.gallery-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.gallery-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark);
    color: #fff;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s, box-shadow 0.4s;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
    border: 2px solid #000;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s;
    visibility: hidden;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    visibility: hidden; 
}

.gallery-info p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Services Section */
.services-section {
    background: var(--dark);
    padding: 6rem 2rem;
}

.services-content {
    max-width: 1400px;
    margin: 0 auto;
}

.services-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
}

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

.service-card {
    background: var(--medium);
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: #f5f5f5;
    padding: 6rem 2rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-box {
    background: #fff;
    padding: 2rem;
    border-radius: 0;
    border: 2px solid #000;
}

.contact-box h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-box p {
    color: var(--text);
}

.contact-box a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    word-break: break-all;
}

.contact-box a:hover {
    color: #666;
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lightbox - Fixed z-index and pointer-events */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.3s;
    z-index: 10003;
    pointer-events: auto;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-close:active {
    transform: scale(0.95);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10003;
    user-select: none;
    pointer-events: auto;
}

.lightbox-nav:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.9);
    border-color: #000;
    color: #000;
}

.lightbox-nav:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-image {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    color: #fff;
    padding: 0;
    text-align: center;
    border: none;
    z-index: 10002;
    max-width: 100%;
    max-height: 90vh;
    pointer-events: none;
}

.lightbox-image img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 2px solid #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    white-space: nowrap;
    z-index: 10003;
    pointer-events: none;
}

.hero-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.3));
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contact-btn {
        display: none;
    }
    
    .floating-phone {
        display: flex;
    }
    
    header {
        padding: 1rem 1.5rem;
    }
    
    .header-content {
        justify-content: center;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-logo-container {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        max-width: 85%;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .phone-large {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        font-size: 1.5rem;
    }
    
    .gallery-section {
        padding: 4rem 1rem;
    }
    
    .gallery-header {
        margin-bottom: 2rem;
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-filter {
        gap: 0.5rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .services-section {
        padding: 4rem 1rem;
    }
    
    .services-content h2 {
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lightbox {
        padding: 0.5rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2.5rem;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
    
    .lightbox-image {
        padding: 1rem;
    }
    
    .lightbox-counter {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .phone-large {
        font-size: 1.2rem;
    }
    
    .gallery-section {
        padding: 3rem 0.75rem;
    }
    
    .services-section {
        padding: 3rem 0.75rem;
    }
    
    .contact-section {
        padding: 3rem 0.75rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}


.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.social-btn {
    background: #1877f2;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    background: #145dbf;
    transform: translateY(-2px);
}