* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f0f1b;
    --secondary: #1a1a2e;
    --accent: #ff6b9d;
    --accent-secondary: #7e57c2;
    --text: #ffffff;
    --text-secondary: #b8b8d1;
    --gradient: linear-gradient(135deg, #ff6b9d 0%, #7e57c2 50%, #2196f3 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b9d 0%, #7e57c2 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cinematic Header */
.cinematic-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(50px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    font-weight: 600;
}

.nav-links {
    display: flex;
    font-size: 20px;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Sliders Container */
.sliders-container {
    height: calc(var(--vh, 1vh) * 100); /* ✅ Safari-safe viewport height */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-section {
    position: absolute;
    width: 100%;
    height: 33.333%;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 107, 157, 0.05);
}

.slider-1 { top: 0; background: linear-gradient(90deg, #0f0f1b 0%, rgba(15,15,27,0.8) 100%); }
.slider-2 { top: 33.333%; background: linear-gradient(90deg, #151528 0%, rgba(21,21,40,0.8) 100%); }
.slider-3 { top: 66.666%; background: linear-gradient(90deg, #1a1a2e 0%, rgba(26,26,46,0.8) 100%); }

.slider-track {
    display: flex;
    position: absolute;
    height: 100%;
    align-items: center;
    will-change: transform;
    visibility: hidden; /* Hide initially until images are ready */
    gap: 1.5rem; /* Consistent gap between all images */
}

.slider-item {
    flex: 0 0 auto;
    margin: 0 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.slider-item:hover {
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(255, 107, 157, 0.3);
}

.slider-item img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

/* WebKit / Safari rendering fixes to reduce flicker on animated transforms
   - force a compositing layer with translate3d/translateZ
   - hide backface to avoid repainting artifacts
   - hint will-change for smoother animations
*/
.slider-track,
.slider-item,
.slider-item img,
.slider-img {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    -webkit-font-smoothing: antialiased;
}

.slider-img {
    -webkit-user-drag: none;
    user-select: none;
}

.slider-item:hover img {
    transform: scale(1.05);
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-item:hover .slider-overlay {
    opacity: 1;
}

.photo-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.photo-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* PERFECT Infinite Loop Animations - FIXED */
@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

@keyframes slideRight {
    0% { transform: translateX(-33.333%); }
    100% { transform: translateX(0); }
}

@keyframes slideLeftSlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.slider-1 .slider-track {
    animation: slideLeft 60s linear infinite;
}

.slider-2 .slider-track {
    animation: slideRight 70s linear infinite;
}

.slider-3 .slider-track {
    animation: slideLeftSlow 80s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

/* Different fonts for each word */
.word1 {
  font-family: 'CinematicFont1', 'Arial', sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  display: inline-block;
}

.word2 {
  font-family: 'CinematicFont2', 'Georgia', serif;
  font-style: italic;
  font-size: 0.7em;
  display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.cta-button:hover {
    background: var(--gradient-accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Loading State */
.slider-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    font-size: 1.2rem;
    z-index: 10;
}

/* Reviews Section */
.reviews-section {
    min-height: 100vh;
    background: var(--secondary);
    padding: 8rem 2rem 4rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-container {
    max-width: 1064px;
    margin: 0 auto;
}

/* Reviews Slider with Horizontal Scrolling */
.reviews-slider {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 107, 157, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.reviews-track-container {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    transition: transform 0.3s ease;
    width: max-content;
}

.review-card {
    flex: 0 0 auto;
    width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 157, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.review-user {
    flex: 1;
}

.review-handle {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-stars {
    color: var(--accent);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
}

/* Review Navigation Controls */
.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--gradient-accent);
    color: var(--primary);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

/* Review Counter */
.review-counter {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Review Form */
.review-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
}

/* Messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    /* display: none; */
}

.success-message {
    background: rgba(46, 125, 50, 0.2);
    border: 1px solid rgba(46, 125, 50, 0.5);
    color: #4caf50;
}

.error-message {
    background: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.5);
    color: #f44336;
}

/* Footer */
.footer {
    background: var(--primary);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 157, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-links a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent);
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.3);
}

/* Inline styles for the star input (kept local to this block) */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
    align-items: center;
    font-size: 48px;
}
.star-rating input { display: none; }
.star-rating label {
    cursor: pointer;
    color: #cfcfcf;
    transition: color 0.12s ease-in-out, transform 0.08s;
    user-select: none;
}
.star-rating label:hover,
.star-rating label:hover ~ label { color: #ffcc33; transform: scale(1.08); }
.star-rating input:checked ~ label { color: #ffcc33; transform: scale(1.02); }
/* small accessible value indicator */
.rating-indicator {
    margin-left: 12px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

 /* Gallery Page */
.gallery-page {
    min-height: 100vh;
    background: var(--primary);
    padding-top: 100px;
}

.gallery-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(26,26,46,0.8) 100%);
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.gallery-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.1);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    letter-spacing: 1px;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-accent);
    color: var(--primary);
    border-color: transparent;
}

/* Masonry Grid */
.masonry-grid {
    column-count: 4;
    column-gap: 15px;
    padding: 1rem;
    max-width: 1800px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .masonry-grid { column-count: 3; }
}
@media (max-width: 768px) {
    .masonry-grid { column-count: 2; padding: 0.5rem; }
}
@media (max-width: 480px) {
    .masonry-grid { column-count: 1; }
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 15px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.masonry-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.3);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 27, 0.98);
    z-index: 2000;
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 95%;
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--gradient-accent);
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 2rem;
}

.lightbox-prev, .lightbox-next {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 0 0 12px 12px;
}

.lightbox-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.lightbox-category {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Mobile Navigation Override - Add this to style.css */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .hamburger-menu {
        display: flex !important;
    }
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 1px solid rgba(255, 107, 157, 0.1);
        backdrop-filter: blur(20px);
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 80%;
        text-align: center;
        color: var(--text) !important;
        text-decoration: none !important;
        display: block !important;
    }

    .nav-links a::after {
        display: none;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 15, 27, 0.8);
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Responsive adjustments from OLD */
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .slider-item {
        /* margin: 0 1rem; */
    }

    .reviews-slider, .review-form-container {
        padding: 2rem 1.5rem;
    }

    .review-card {
        width: 300px;
    }
}

/* Desktop - hide hamburger */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
}