/* =========================================
   ACTROSS PHOTOGRAPHER
   MAIN STYLE
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
}


/* =========================================
   BACKGROUND VIDEO
========================================= */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}


/* =========================================
   HEADER
========================================= */

header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    color: #ffffff;
    padding: 40px 20px;
}

header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

header p {
    font-size: 20px;
    margin: 8px 0;
}


/* =========================================
   GENERAL LINKS
========================================= */

a {
    color: #111111;
}

a:hover {
    color: #D4AF37;
}


/* =========================================
   CHAGUA HUDUMA BUTTON
========================================= */

.choose-service-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 28px;
    background: #d6b36a;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
}

.choose-service-btn:hover {
    background: #222222;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================
   HAMBURGER
========================================= */

.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #111111;
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    font-size: 25px;
    cursor: pointer;
    border-radius: 6px;
}


/* =========================================
   SIDEBAR
========================================= */

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.3s;
    padding-top: 70px;
    box-shadow: 3px 0 15px rgba(0,0,0,0.2);
}

.sidebar a {
    display: block;
    padding: 14px 25px;
    text-decoration: none;
    color: #111111;
    font-size: 17px;
}

.sidebar a:hover {
    background: #f2f2f2;
}


/* =========================================
   DROPDOWN
========================================= */

.dropdown {
    position: relative;
}

.dropbtn {
    width: 100%;
    padding: 14px 25px;
    border: none;
    background: transparent;
    color: #111111;
    text-align: left;
    font-size: 17px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    background: #f5f5f5;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    padding-left: 45px;
}


/* =========================================
   MAIN
========================================= */

main {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 70px 20px;
}


/* =========================================
   PHOTO GALLERY
========================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}


/* =========================================
   PHOTO POPUP
========================================= */

.photo-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-modal.show {
    display: flex;
}

.photo-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.photo-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}


/* =========================================
   PHOTOS PAGE
========================================= */

.gallery-section {
    padding: 40px 20px;
    text-align: center;
}

.gallery-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.gallery-section > p {
    margin-bottom: 30px;
}

.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}


/* =========================================
   VIDEO
========================================= */

.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
}

.video-container video {
    width: 300px;
    height: 170px;
    max-width: 300px;
    object-fit: cover;
    display: block;
}


/* =========================================
   FOOTER
========================================= */

footer,
.site-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    color: #111111;
}

footer h2,
.site-footer h2 {
    margin-bottom: 10px;
}

footer p,
.site-footer p {
    margin: 8px 0;
}


/* =========================================
   OWNER ADMIN
========================================= */

.owner-admin {
    width: 100%;
    display: block;
    text-align: center;
    margin: 30px 0 15px;
    padding: 10px 0;
    clear: both;
}

.owner-admin a {
    display: inline-block;
    color: #777777;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
    transition: 0.3s;
}

.owner-admin a:hover {
    color: #D4AF37;
    opacity: 1;
}


/* =========================================
   RATING
========================================= */

.rating {
    font-size: 28px;
    letter-spacing: 4px;
    color: #D4AF37;
    margin: 10px 0;
}

.review-count {
    color: #111111;
    margin: 10px 0;
}

.review-btn {
    background: #D4AF37;
    color: #111111;
    border: none;
    padding: 12px 22px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.review-btn:hover {
    background: #b8962e;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    header h1 {
        font-size: 32px;
    }

    header p {
        font-size: 16px;
    }

    main {
        padding: 60px 15px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery img {
        height: 180px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        height: 190px;
    }

    .site-footer,
    footer {
        padding: 30px 15px;
    }
}


@media (max-width: 480px) {

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery img {
        height: 150px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 220px;
    }

    .video-container video {
        width: 280px;
        height: 158px;
        max-width: 280px;
    }

    .owner-admin {
        margin: 25px 0 10px;
    }
}