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

:root {
    --bg-black: #000000;
    --bg-dark-grey: #111111;
    --bg-card: #1A1A1A;
    --bg-hover: #2A2A2A;
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
    --border-subtle: #2A2A2A;
}

/* ===== FONTS - Using Google Fonts (Inter) ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 16px 5%;
}

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

/* Logo styling with icon */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.1);
}

.logo.camera-mode span {
    display: none;
}

.logo.camera-mode svg {
    margin: 0 auto;
}

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

.nav-links a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue Light', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 1.5;
    fill: none;
}

/* Hide the old popup mobile menu completely */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the old popup mobile menu */
    .mobile-menu {
        display: none;
    }
    
    /* Navbar layout - logo left, hamburger right */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Nav links hidden by default */
    .nav-links {
        display: none;
        order: 2;
    }
    
    /* When toggled - hide logo */
    .nav-container.show-nav .logo {
        display: none;
    }
    
    /* When toggled - show nav links */
    .nav-container.show-nav .nav-links {
        display: flex;
        gap: 15px;
        justify-content: flex-end;
        width: auto;
    }
    
    /* Style nav links for mobile */
    .nav-links a {
        font-size: 0.75rem;
        padding: 5px 8px;
        white-space: nowrap;
    }
}


/* ===== HERO SECTION ===== */
.hero {
    height: 65vh;
    min-height: 450px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero::after {
    content: '';
    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.6));
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: object-position 0.5s ease;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.65;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 8vw, 80px);
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue Light', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 3vw, 18px);
    letter-spacing: 0.3em;
    color: var(--text-primary);
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero { height: 55vh; min-height: 400px; }
}

@media (max-width: 768px) {
    .hero { height: 45vh; min-height: 350px; margin-top: 60px; }
    .hero-bg { object-position: center 40%; }
}

@media (max-width: 550px) {
    .hero { height: 40vh; min-height: 300px; }
}

/* ===== SECTIONS ===== */
.section {
    padding: 70px 5% 60px;
}

.section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 4.5vw, 38px);
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ===== GALLERY (2-ROW MASONRY) - YOUR WORKING SETUP ===== */
.gallery-wrapper {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 20px 0;
    margin: 10px 0;
}

.gallery-container {
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Specific heights per gallery */
#realEstateContainer { max-height: 600px; }
#weddingContainer { max-height: 600px; }
#urbanContainer { max-height: none; } /* No vertical scroll - shows all */

.gallery-track {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: max-content;
    padding: 10px 2%;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 260px;
    flex-shrink: 0;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    background: transparent;
    border-radius: 6px;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
}

/* Optional: Show scroll hint */
.gallery-container::after {
    content: '← scroll →';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.9s;
}

.gallery-container:hover::after {
    opacity: 1;
}

/* Style the scrollbar to look better */
.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Gallery Scroll Buttons */
.scroll-btn-left,
.scroll-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-btn-left {
    left: 10px;
}

.scroll-btn-right {
    right: 10px;
}

.scroll-btn-left:hover,
.scroll-btn-right:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.scroll-btn-left svg,
.scroll-btn-right svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

/* Hide buttons on mobile if they're too intrusive */
@media (max-width: 768px) {
    .scroll-btn-left,
    .scroll-btn-right {
        width: 40px;
        height: 40px;
    }
    
    .scroll-btn-left svg,
    .scroll-btn-right svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 550px) {
    .scroll-btn-left,
    .scroll-btn-right {
        width: 36px;
        height: 36px;
        opacity: 0.4; /* More subtle on small screens */
    }
    
    .scroll-btn-left svg,
    .scroll-btn-right svg {
        width: 18px;
        height: 18px;
    }
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-container { max-height: 400px; }
    .gallery-column { width: 220px; gap: 16px; }
    .gallery-track { gap: 16px; }
}

@media (max-width: 550px) {
    .gallery-container { max-height: 350px; }
    .gallery-column { width: 180px; gap: 12px; }
    .gallery-track { gap: 12px; }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 5%;
    overflow: hidden;
}

.about-image {
    float: left;
    width: 260px;
    margin-right: 40px;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    display: block;
    overflow: visible;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue Light', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    display: inline ;
    overflow: hidden;
}

.about-text p {
    display: inline 
    margin-bottom: 16px;
}

.social-buttons {
    clear: both;
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

.social-btn span {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.contact-form { max-width: 450px; }
.contact-form .section-title { text-align: left; margin-bottom: 35px; }

.form-group { margin-bottom: 28px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue Light', Helvetica, Arial, sans-serif;
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--text-primary); }

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 10px 32px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: var(--text-primary);
    color: var(--bg-black);
}

.contact-image {
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    object-fit: cover;
}

.form-success {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 35px 20px;
    background: #000000;
    border-top: 1px solid var(--border-subtle);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue Light', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 1px solid var(--border-subtle);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: var(--text-primary);
    cursor: pointer;
    opacity: 0.6;
}

/* ===== SCROLLING BACKGROUND ===== */
body {
    background: url('../images/bikes-at-sunset-enhanced.webp') center/cover no-repeat scroll;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    z-index: -1;
}

/* Make all sections transparent */
.section, 
.about-section, 
.contact-section,
.bg-grey,
.bg-black {
    background: transparent !important;
}

/* ===== RESPONSIVE - Images ALWAYS on sides (no stacking) ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .navbar { padding: 12px 5%; }


    /* ABOUT SECTION - Image on left, text on right */
    .about-section {
        display: block;
        flex-direction: row;
        gap: 20px;
        text-align: left;
        align-items: flex-start;
    }
    
    .about-image {
        float: left;
        width: 200px;
        margin: 0 20px 10px 0;
        shape-outside: margin-box;
    }
    
    .about-content {
        display: inline;
        flex: 1;
    }
    
    .about-content .section-title {
        text-align: left;
        font-size: 20px;
    }
    
    .about-text {
        text-align: left;
        overflow: hidden;
    }
    
    .social-buttons {
        clear: both;
        justify-content: center;
        display: flex;
    }
    
    .social-btn {
        padding: 6px 16px;
    }
    
    .social-btn span {
        font-size: 11px;
    }
    
    /* CONTACT SECTION - Form on left, image on right */
    .contact-section {
        display: flex;
        flex-direction: row;
        gap: 20px;
        text-align: left;
        align-items: center;
    }
    
    .contact-form {
        flex: 2;
        margin: 0;
    }
    
    .contact-image {
        width: 200px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .contact-form .section-title {
        text-align: left;
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 8px 24px;
        font-size: 11px;
    }
    
    .section { padding: 40px 4%; }
}


@media (max-width: 550px) {
    .social-btn span { font-size: 12px; }
    .about-image { width: 180px; }
    .contact-image { width: 180px; }
}

/* For very small phones, reduce image size further but keep side layout */
@media (max-width: 480px) {
    .about-image {
        width: 80px;
    }
    
    .contact-image {
        width: 80px;
    }
    
    .about-text {
        font-size: 12px;
    }
}