:root {
    --primary: #c79800;
    --dark: #0d143f;
    --light: #ffffffde;
    --accent: #2b5337;
    --gray: #566117;
    
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin:  auto;
    padding: 0 15px;

}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
   
    padding: 15px 0;
    background-color:rgb(6, 31, 23);
    transition: all calc(00.3s);
    
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;   
}


.logo-img img {
  height: 70px;   /* beddel hadii uu weyn yahay */
  width: auto;
  display: block;
}

.logo-img {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    color: var(--light);
    font-size: 16px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--light);
}

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

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
    margin: 0 12px;
    list-style: none;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--light);
    padding: 8px 0;
    position: relative;
}

.nav-menu li a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.nav-menu li a:hover:after,
.nav-menu li.active a:after {
    width: 100%;
    transform: rotate(360deg);
}

.nav-menu li a:hover,
.nav-menu li.active a {
    color: var(--primary);
    
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light);
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
  color: var(--primary);
  transform: rotate(90deg);
}
/* hero section */

.hero {
    height: 100vh;            /* Fullscreen desktop */
    min-height: 500px;        /* Good fallback for mobile */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Fit same on mobile & desktop */
    object-position: center;  /* Keep center of image always visible */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 38, 32, 0.6),
        rgba(18, 38, 32, 0.85)
    );
    z-index: -1;
}

.hero-subtitle,
.hero-title,
.hero-desc {
    opacity: 0;
    transform: translateY(10px);
    animation: textFade 0.8s ease forwards;
}

/* delay timings to make them appear word-by-word */
.hero-subtitle {
    animation-delay: 0.2s;
}
.hero-title {
    animation-delay: 0.8s;
}
.hero-desc {
    animation-delay: 1.6s;
}
.repeat-text {
    animation: repeatFade 10s linear infinite;
}

@keyframes repeatFade {
    0% { opacity: 0; transform: translateY(5px); }
    25% { opacity: 1; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-5px); }
}


@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
      margin-top: 50px;
}

.btn {
  
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: var(--light);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
  .hero-buttons {
    margin-top: 60px; /* Hoos ugu riix */
}}


.btn:hover {
    background: var(--primary);
 
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 254, 253, 0.3);
   
}

/* .btn-outline {
    background: transparent;
    color: var(--primary);
} */

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

/* Section Styles */
section {
    padding: 60px 0;
}

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

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-main-title {
    font-size: 32px;
    position: relative;
    padding-bottom: 12px;
}

.section-main-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}


/* Photography Section */
.photography {
    background: var(--dark);
    color: var(--light);
}

.photography .section-main-title,
.photography .section-subtitle {
    color: var(--primary);
}

.photography-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 10px;
}

.photography-btn {
    padding: 8px 16px;
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.photography-btn:hover,
.photography-btn.active {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.photography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 1fr; /* ensures each row has the same height */
    gap: 20px;
}

.photo-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;      /* fills the grid cell */
    object-fit: contain; /* shows full image, no crop */
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover .photo-thumbnail img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.photo-overlay i {
    font-size: 40px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(15px);
    transition: transform 0.3s ease;
    opacity: 0;
}

.photo-item:hover .photo-info {
    transform: translateY(0);
    opacity: 1;
}

.photo-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary);
}

.photo-info p {
    font-size: 14px;
    color: var(--light);
}
    /* Lightbox Styles */
    .lightbox {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }

    .lightbox.active {
        display: flex;
    }

    .lightbox-content {
        position: relative;
        width: 90%;
        max-width: 900px;
    }

    .lightbox-content img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 8px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    }

    .lightbox-info {
        color: white;
        text-align: center;
        margin-top: 20px;
    }

    .lightbox-info h3 {
        font-size: 24px;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .lightbox-info p {
        font-size: 16px;
        color: var(--light);
    }

    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 30px;
        cursor: pointer;
        transition: color 0.3s;
        z-index: 1001;
    }

    .lightbox-close:hover {
        color: var(--primary);
    }

    .lightbox-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        transform: translateY(-50%);
    }

    .lightbox-prev,
    .lightbox-next {
        color: white;
        font-size: 40px;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.5);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        color: var(--primary);
        background: rgba(255, 255, 255, 0.2);
    }

    @media (max-width: 768px) {
        .lightbox-prev,
        .lightbox-next {
            font-size: 30px;
            width: 40px;
            height: 40px;
        }
        
        .lightbox-close {
            top: 10px;
            right: 10px;
            font-size: 24px;
        }
    }

/* ===== BOOKING SECTION ===== */
.booking {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0;
}

.booking-container {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-section,
.calendar-section,
.booking-details {
    flex: 1;
    min-width: 280px;
    padding: 30px;
}

.service-section {
    background: var(--light);
}

.service-section h3,
.booking-details h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
}

.calendar-section {
    background: white;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.booking-details {
    background: var(--light);
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-option {
    padding: 15px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

.service-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-option.selected {
    border-color: var(--primary);
    background: rgba(182, 141, 64, 0.1);
}

.service-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(182, 141, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark);
}

.service-info p {
    color: var(--gray);
    font-size: 13px;
}

.service-price {
    margin-left: auto;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

/* Calendar Styles */
.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-navigation button {
    background: var(--dark);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.calendar-navigation button:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.month-year {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 14px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    font-size: 14px;
}

.day:hover {
    background: rgba(182, 141, 64, 0.2);
}

.day.selected {
    background: var(--primary);
    color: white;
}

.day.inactive {
    color: #ccc;
    cursor: default;
}

.day.today {
    border: 2px solid var(--primary);
}

.day.has-booking::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

/* Booking Summary */
.booking-summary {
    padding: 20px;
    background: rgb(29, 36, 52);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-summary h3 {
    margin-bottom: 20px;
    color: var(--light);
    font-size: 18px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--accent);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #555;
    font-size: 14px;
    color: var(--light);
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-item.user-input {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.summary-item.user-input label {
    font-size: 13px;
    color: #bbb;
    font-weight: 500;
}

.summary-item.user-input input,
.summary-item.user-input textarea {
    width: 100%;
    padding: 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--dark);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.summary-item.user-input input:focus,
.summary-item.user-input textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.1);
}

.book-btn {
    width: 100%;
    padding: 14px;
    background: var(#183321);
    color: var(#eb8d8d);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.book-btn:hover:not(:disabled) {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(182, 141, 64, 0.3);
}

.book-btn:disabled {
    background: var(--gray);
    
    
}

/* Booking Success Message */
.booking-success {
    text-align: center;
    padding: 40px 20px;
}

.booking-success i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.booking-success h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 24px;
}

.booking-success p {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 16px;
}

/* About Section */
.about {
    background: #e0e9d3;
    padding: 70px 0;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 28px;
    color: #183321;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.about-divider {
    height: 2px;
    background: linear-gradient(to right, #183321, #e74c3c);
    width: 50%;
    margin: 20px 0;
    border-radius: 5px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}





/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    background: var(--accent);
    transform: rotate(10deg);
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-details p {
    color: var(--gray);
    font-size: 14px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    background: white;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(182, 141, 64, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 0;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    color: var(--primary);
}

.footer-widget h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 2px;
    background: var(--primary);
}

.footer-about p {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 8px;
    list-style: none;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(3px);
}

.footer-links li a {
    color: var(--light);
    font-size: 14px;
}

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

.footer-newsletter p {
    margin-bottom: 15px;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: rgba(244, 235, 208, 0.1);
    color: var(--light);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 0 15px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent);
}

.social-icons {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(182, 141, 64, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-icons a i {
    color: var(--light);
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(244, 235, 208, 0.1);
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
}

/* Lightbox Styles */
.lightbox,
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active,
.video-lightbox.active {
    display: flex;
}

.lightbox-content,
.video-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.video-lightbox-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-lightbox-player iframe,
.video-lightbox-player video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.lightbox-info,
.video-lightbox-info {
    color: white;
    text-align: center;
    margin-top: 20px;
}

.lightbox-info h3,
.video-lightbox-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.lightbox-info p,
.video-lightbox-info p {
    font-size: 16px;
    color: var(--light);
}

.lightbox-close,
.video-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.lightbox-close:hover,
.video-lightbox-close:hover {
    color: var(--primary);
}

.lightbox-nav,
.video-lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next,
.video-lightbox-prev,
.video-lightbox-next {
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.video-lightbox-prev:hover,
.video-lightbox-next:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1001;
    transition: width 0.2s ease;
}

/* Designer Elements */
.designer-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    transition: all 20s linear;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.square {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69.3px solid var(--primary);
    opacity: 0.1;
}