/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0C2E5B;
    --secondary-color: #C8A04A;
    --accent-color: #C8A04A;
    --dark-blue: #081C3F;
    --light-cream: #f9f7f4;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-scrolling {
    pointer-events: none;
}

body.is-scrolling * {
    pointer-events: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
    animation: logoFadeIn 0.6s ease-out;
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

/* Search and Filter */
.nav-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-cream);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 46, 91, 0.1);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    width: 250px;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn,
.filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.search-btn:hover,
.filter-btn:hover {
    background: rgba(12, 46, 91, 0.1);
    transform: scale(1.1);
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 2px solid var(--light-cream);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
}

.language-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 46, 91, 0.1);
}

.flag-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.language-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.language-btn .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-switcher.active .arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                visibility 0s linear 0.15s;
    z-index: 1001;
    padding: 0.5rem 0;
    list-style: none;
    pointer-events: none;
}

.language-switcher.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                visibility 0s linear 0s;
    pointer-events: auto;
}

.language-menu li {
    list-style: none;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.language-option:hover {
    background: var(--light-cream);
    color: var(--primary-color);
}

.language-option .flag-icon {
    font-size: 1.5rem;
}

.language-option span:last-child {
    font-weight: 500;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover > .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                visibility 0s linear 0.15s;
    z-index: 1001;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    pointer-events: none;
}

.nav-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                visibility 0s linear 0s;
    pointer-events: auto;
}

/* Add invisible bridge between menu item and dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu > li > a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease,
                color 0.2s ease,
                padding-left 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background: var(--light-cream);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-menu a::after {
    display: none;
}

/* Nested Dropdown Menu (for Agent Network) */
.nav-dropdown-nested {
    position: relative;
}

.nav-dropdown-nested > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-nested > .dropdown-toggle .arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.nav-dropdown-nested:hover > .dropdown-toggle {
    background: var(--light-cream);
    color: var(--primary-color);
}

.nav-dropdown-nested:hover > .dropdown-toggle .arrow {
    transform: translateX(3px);
}

.dropdown-menu-nested {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-5px);
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                visibility 0s linear 0.15s;
    z-index: 1002;
    padding: 0.5rem 0;
    margin-left: 0.25rem;
    list-style: none;
    pointer-events: none;
}

.nav-dropdown-nested:hover .dropdown-menu-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                visibility 0s linear 0s;
    pointer-events: auto;
}

/* Add invisible bridge for nested dropdown */
.nav-dropdown-nested::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 0.25rem;
    background: transparent;
    z-index: 1001;
}

.dropdown-menu-nested li {
    list-style: none;
}

.dropdown-menu-nested a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease,
                color 0.2s ease,
                padding-left 0.2s ease;
}

.dropdown-menu-nested a:hover {
    background: var(--light-cream);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-menu-nested a::after {
    display: none;
}

/* Filter Panel */
.filter-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.filter-panel.active {
    right: 0;
}

.filter-content {
    padding: 2rem;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-cream);
}

.filter-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.close-filter {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-filter:hover {
    background: var(--light-cream);
    transform: rotate(90deg);
}

.filter-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-group h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.filter-group label:hover {
    background: var(--light-cream);
}

.filter-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.filter-actions .btn {
    width: 100%;
}

/* Mobile Menu Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
}

.nav-toggle span:nth-child(1) {
    top: 10px;
}

.nav-toggle span:nth-child(2) {
    top: 19px;
}

.nav-toggle span:nth-child(3) {
    top: 28px;
}

/* Hamburger Animation when Active */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 19px;
    background: var(--primary-color);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 46, 91, 0.7) 0%, rgba(8, 28, 63, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    animation: fadeIn 1.5s ease, float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before {
    opacity: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
}

/* About Section */
.about {
    background: var(--light-cream);
}

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

.about-text .lead {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 46, 91, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.about-image:hover::after {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover img {
    transform: scale(1.08);
}

/* Collections Section */
.collections {
    background: var(--white);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.collection-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
}

.collection-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.collection-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.collection-image {
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6e8 0%, #e8d5d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover .collection-image img {
    transform: scale(1.15);
}

.collection-content {
    padding: 2rem;
}

.collection-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.collection-card:hover .collection-content h3 {
    color: var(--accent-color);
}

.collection-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.collection-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.collection-link:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Dynamic Collections with Slideshow */
.collections-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.collection-card-dynamic {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card-dynamic:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Slideshow Container */
.collection-slideshow {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6e8 0%, #e8d5d8 100%);
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slideshow-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-slide.active {
    opacity: 1;
    z-index: 1;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.collection-card-dynamic:hover .slideshow-caption {
    transform: translateY(0);
}

.slideshow-caption h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.slideshow-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slideshow-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.slideshow-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Loading Placeholder */
.slideshow-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--primary-color);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.slideshow-placeholder p {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* No Roses Message */
.no-roses-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.no-roses-message svg {
    stroke: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-roses-message p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.no-roses-message small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* View All Roses Button */
.view-all-roses {
    text-align: center;
    margin: 3rem 0 0;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.btn-large:hover {
    box-shadow: 0 6px 25px rgba(139, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-large svg {
    transition: transform 0.3s ease;
}

.btn-large:hover svg {
    transform: translateX(5px);
}

/* Quality Section */
.quality {
    background: var(--light-cream);
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quality-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quality-features {
    margin-top: 2rem;
}

.quality-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: var(--light-cream);
    padding: 3rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 46, 91, 0.1);
    transform: translateY(-2px);
}

.contact-form .btn-primary {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
}

.contact-form .btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    opacity: 1 !important;
    animation: footerSlideUp 0.6s ease-out;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-social {
    opacity: 1 !important;
    animation: footerSlideUp 0.6s ease-out 0.15s backwards;
}

.footer-text {
    opacity: 1 !important;
    animation: footerSlideUp 0.6s ease-out 0.3s backwards;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.7);
}

/* Modern Framer-style Animations */
@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .quality-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .quality-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Mobile navbar layout: logo left, hamburger right */
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-logo {
        z-index: 1001;
    }

    /* Show hamburger menu - position top right */
    .nav-toggle {
        display: flex;
        order: 3;
        z-index: 1001;
    }

    /* Hide desktop search and language */
    .nav-search {
        display: none;
    }

    /* Mobile Menu - Full Screen Overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 0 2rem 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        list-style: none;
        margin: 0;
        align-items: stretch;
        gap: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Menu Items */
    .nav-menu > li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        list-style: none;
        width: 100%;
        padding: 0 2rem;
    }

    .nav-menu.active > li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for menu items */
    .nav-menu.active > li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active > li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active > li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active > li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active > li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active > li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active > li:nth-child(7) { transition-delay: 0.4s; }

    .nav-menu > li > a {
        padding: 1.25rem 0;
        font-size: 1.2rem;
        color: var(--primary-color);
        font-weight: 500;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-menu > li > a:not(.dropdown-toggle) {
        border-bottom: 1px solid #f5f5f5;
    }

    /* Remove the ::before line */
    .nav-menu::before {
        display: none;
    }

    /* Add mobile search and language to menu via JS */
    .mobile-search-container {
        margin-bottom: 1.5rem;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: 0.05s;
        padding: 0 2rem;
        width: 100%;
    }

    .nav-menu.active .mobile-search-container {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-search-container .search-input {
        width: 100%;
        padding: 1rem 1.25rem;
        border: 2px solid #e0e0e0;
        border-radius: 50px;
        font-size: 0.95rem;
        background: #fafafa;
        transition: all 0.3s ease;
    }

    .mobile-search-container .search-input:focus {
        background: var(--white);
        border-color: var(--secondary-color);
        outline: none;
    }

    .mobile-language-container {
        margin-top: 2rem;
        padding: 2rem 2rem 0 2rem;
        border-top: 1px solid #f0f0f0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: 0.5s;
        width: 100%;
    }

    .nav-menu.active .mobile-language-container {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-language-container h4 {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-language-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .mobile-language-btn {
        padding: 0.75rem;
        background: var(--light-cream);
        border: 2px solid transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        font-size: 0.9rem;
        color: var(--text-dark);
    }

    .mobile-language-btn.active {
        border-color: var(--secondary-color);
        background: var(--white);
        color: var(--primary-color);
    }

    .mobile-language-btn:hover {
        background: var(--white);
        transform: translateY(-2px);
    }

    /* Dropdown adjustments for mobile */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 0;
        font-size: 1.2rem;
        color: var(--primary-color);
        font-weight: 500;
        border-bottom: 1px solid #f5f5f5;
        cursor: pointer;
    }

    .nav-dropdown .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #fafafa;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        list-style: none;
        border-radius: 0;
        display: block !important;
        pointer-events: auto !important;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 1000px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        list-style: none;
        width: 100%;
    }

    .dropdown-menu > li {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu > li > a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        color: var(--text-dark);
        display: block !important;
        border-bottom: none;
        transition: all 0.3s ease;
    }

    .dropdown-menu > li > a:hover {
        background: var(--white);
        color: var(--primary-color);
        padding-left: 2rem;
    }

    .nav-dropdown .dropdown-toggle .arrow {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .nav-dropdown.active .dropdown-toggle .arrow {
        transform: rotate(180deg);
    }

    /* Nested dropdowns on mobile */
    .nav-dropdown-nested {
        width: 100%;
    }

    .nav-dropdown-nested .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        cursor: pointer;
    }

    .dropdown-menu-nested {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: var(--white);
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
        display: block !important;
        pointer-events: auto !important;
    }

    .nav-dropdown-nested.active .dropdown-menu-nested {
        max-height: 700px;
        padding: 0.5rem 0;
    }

    .dropdown-menu-nested li {
        list-style: none;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu-nested > li > a {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
        display: block !important;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-logo {
        max-width: 180px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* Dynamic Collections Slideshow - Mobile */
    .collections-grid-dynamic {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .collection-slideshow {
        height: 300px;
    }

    .slideshow-caption h4 {
        font-size: 1.2rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* ==============================================
   PAGE CONTENT (Royal Since 1990, etc.)
   ============================================== */

.page-content {
    padding: 120px 0 80px;
    background: var(--light-cream);
    min-height: 100vh;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.title-divider {
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
}

/* Royal Content Layout */
.royal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.royal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.royal-intro,
.royal-gratitude,
.royal-history {
    margin-bottom: 30px;
    text-align: justify;
}

.royal-intro {
    font-weight: 500;
    font-size: 1.15rem;
}

.royal-signature {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-cream);
}

.signature-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.royal-image {
    position: sticky;
    top: 120px;
}

.royal-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.royal-photo:hover {
    transform: scale(1.02);
}

/* Responsive - Royal Page */
@media (max-width: 968px) {
    .royal-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .royal-image {
        position: relative;
        top: 0;
    }

    .page-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 100px 0 60px;
    }

    .content-container {
        padding: 0 20px;
    }

    .royal-content {
        padding: 30px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .royal-text {
        font-size: 1rem;
    }

    .royal-intro {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .royal-content {
        padding: 20px;
    }
}

/* ==============================================
   ROSE CATEGORY PAGES
   ============================================== */

.rose-category-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.rose-category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(200,160,74,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 46, 91, 0.3);
}

.rose-category-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.category-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.category-content {
    padding: 80px 0;
    background: var(--light-cream);
}

.category-description {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 0 20px;
}

.category-description h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.roses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.rose-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.rose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rose-image-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f0ede8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rose-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.rose-specs {
    color: var(--text-light);
    font-size: 1rem;
}

.category-cta {
    text-align: center;
    margin-top: 60px;
}

/* Responsive - Rose Category Pages */
@media (max-width: 768px) {
    .rose-category-hero {
        height: 300px;
        margin-top: 70px;
    }

    .category-title {
        font-size: 2.5rem;
    }

    .category-subtitle {
        font-size: 1.2rem;
    }

    .category-content {
        padding: 60px 0;
    }

    .roses-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* ==============================================
   ROSES OVERVIEW PAGE
   ============================================== */

.roses-overview {
    padding: 80px 0;
    background: var(--light-cream);
}

.rose-section {
    margin-bottom: 80px;
}

.rose-section:last-child {
    margin-bottom: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(12, 46, 91, 0.15);
    border-color: var(--secondary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f0ede8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4af5a 100%);
    transform: scale(1.1) rotate(5deg);
}

.category-card:hover .category-icon svg {
    stroke: var(--white);
}

.category-name {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.category-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive - Roses Overview */
@media (max-width: 968px) {
    .roses-overview {
        padding: 60px 0;
    }

    .rose-section {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        padding: 0 30px;
    }

    .category-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .category-name {
        font-size: 1.4rem;
    }
}

/* ================================
   Rose Detail Pages
   ================================ */

.rose-detail-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.rose-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rose-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(12, 46, 91, 0.3) 0%, rgba(12, 46, 91, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.rose-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--white);
}

.breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.rose-title {
    font-size: 4rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.rose-tagline {
    font-size: 1.3rem;
    margin-top: 10px;
    opacity: 0.95;
}

.rose-detail-content {
    padding: 80px 0;
    background: var(--light-cream);
}

.rose-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.rose-info {
    padding-right: 20px;
}

.rose-subtitle {
    font-size: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.rose-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

.rose-specifications {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.rose-specifications h3 {
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-cream);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 1rem;
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.rose-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rose-image-container {
    position: sticky;
    top: 100px;
}

.rose-detail-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive - Rose Detail Pages */
@media (max-width: 968px) {
    .rose-detail-hero {
        height: 400px;
    }

    .rose-hero-overlay {
        padding: 40px;
    }

    .rose-title {
        font-size: 3rem;
    }

    .rose-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rose-info {
        padding-right: 0;
    }

    .rose-image-container {
        position: static;
    }

    .rose-specifications {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .rose-detail-hero {
        height: 300px;
    }

    .rose-hero-overlay {
        padding: 30px 20px;
    }

    .rose-title {
        font-size: 2.2rem;
    }

    .rose-tagline {
        font-size: 1.1rem;
    }

    .rose-subtitle {
        font-size: 2rem;
    }

    .rose-specifications {
        padding: 25px 20px;
    }

    .rose-specifications h3 {
        font-size: 1.5rem;
    }

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

    .rose-cta {
        flex-direction: column;
    }

    .rose-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   Authentication Pages
   ================================ */

.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f5f2ed 100%);
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--light-cream);
}

.auth-tab {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
}

.auth-tab:hover {
    color: var(--primary-color);
    background: var(--light-cream);
}

.auth-form {
    display: none;
    padding: 40px;
}

.auth-form.active {
    display: block;
}

.auth-title {
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-cream);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(200, 160, 74, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.auth-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ================================
   Admin Dashboard
   ================================ */

.admin-nav {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e5e5;
}

.admin-nav .nav-logo-img {
    height: 40px;
}

.admin-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user-welcome {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.btn-view-site {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-view-site:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-logout {
    color: var(--white);
    background: var(--primary-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-logout:hover {
    background: var(--white);
    color: var(--primary-color);
}

.admin-dashboard {
    min-height: calc(100vh - 80px);
    padding: 60px 20px;
    background: var(--light-cream);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    text-align: center;
    margin-bottom: 50px;
}

.admin-title {
    font-size: 3rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.admin-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

.admin-actions {
    margin-bottom: 40px;
}

.admin-roses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.rose-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.rose-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.rose-card-content {
    padding: 20px;
}

.rose-card-title {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.rose-card-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.rose-card-description {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rose-card-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-edit {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-edit:hover {
    background: #b89440;
}

.btn-delete {
    background: #dc3545;
    color: var(--white);
}

.btn-delete:hover {
    background: #c82333;
}

.btn-view {
    background: var(--primary-color);
    color: var(--white);
}

.btn-view:hover {
    background: #0a2347;
}

.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 2px solid var(--light-cream);
}

.modal-header h2 {
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

#roseForm {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--light-cream);
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Clean Admin Styles */
.admin-header-clean {
    padding: 30px 0 20px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.admin-title-clean {
    font-size: 2.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin: 0 0 8px;
}

.admin-subtitle-clean {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e5e5;
}

.admin-tab {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -2px;
}

.admin-tab:hover {
    color: var(--primary-color);
}

.admin-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4af5a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
}

.stat-change {
    font-size: 0.85rem;
    color: #10b981;
    margin-top: 5px;
}

.stat-change.negative {
    color: #ef4444;
}

/* Pages Grid */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.page-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.page-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--light-cream);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.file-input:hover {
    border-color: var(--secondary-color);
    background: #fafafa;
}

.file-upload-preview {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.file-upload-preview img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.file-upload-preview.has-image {
    border: 2px solid var(--secondary-color);
    padding: 5px;
}

/* Form Sections */
.form-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.4rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Modal Large */
.modal-large {
    max-width: 900px;
}

/* Clean Actions */
.admin-actions-clean {
    margin-bottom: 30px;
}

.btn-create {
    font-size: 1rem;
    padding: 12px 24px;
}

.info-text {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* Analytics */
.analytics-chart {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.analytics-chart h3 {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.chart-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.visitors-table {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.visitors-table table {
    width: 100%;
    border-collapse: collapse;
}

.visitors-table th {
    background: var(--light-cream);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.visitors-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color);
}

.visitors-table tr:last-child td {
    border-bottom: none;
}

.visitors-table tr:hover {
    background: #fafafa;
}

/* Admin Footer */
.admin-footer {
    margin-top: 60px;
    background: var(--white);
    border-top: 1px solid #e5e5e5;
}

/* Responsive - Admin */
@media (max-width: 768px) {
    .admin-title {
        font-size: 2.2rem;
    }

    .admin-roses-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }
}

/* ===== DYNAMIC ROSE PAGES SYSTEM ===== */

/* Dynamic Rose Grid */
.roses-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Rose Card Link */
.rose-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.rose-card-link:hover {
    transform: translateY(-5px);
}

/* Rose Card Display */
.rose-card-display {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rose-card-display:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Rose Card Image */
.rose-card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5e6e8 0%, #e8d5d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rose-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background-color: #f5e6e8;
}

.rose-card-link:hover .rose-card-img {
    transform: scale(1.1);
}

/* Rose Card Info */
.rose-card-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rose-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.rose-card-tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
    margin: 0 0 0.75rem 0;
}

.rose-card-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

.rose-card-link-text {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.rose-card-link:hover .rose-card-link-text {
    color: var(--primary-color);
}

/* No Roses Message */
.no-roses-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-cream);
    border-radius: 12px;
}

.no-roses-message p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Dynamic Rose Detail Pages */
.page-content-dynamic {
    min-height: 60vh;
}

/* Responsive */
@media (max-width: 768px) {
    .roses-grid-dynamic {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rose-card-image-wrapper {
        height: 200px;
    }

    .rose-card-info {
        padding: 1.25rem;
    }

    .rose-card-name {
        font-size: 1.3rem;
    }
}

/* ========================================
   FEATURED ROSES CAROUSEL
   ======================================== */

.featured-roses-carousel {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0ea 100%);
    padding: 80px 0;
}

.carousel-wrapper {
    position: relative;
    margin: 3rem 0;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: calc((100% - 40px) / 3); /* 3 slides visible */
    flex-shrink: 0;
}

.carousel-slide-link {
    display: block;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.carousel-slide-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.carousel-slide-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6e8 0%, #e8d5d8 100%);
    position: relative;
}

.carousel-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-slide-link:hover .carousel-slide-image img {
    transform: scale(1.1);
}

.carousel-slide-info {
    padding: 1.5rem;
}

.carousel-slide-info h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.carousel-slide-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* Loading & Empty States */
.carousel-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--text-light);
}

.carousel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    text-align: center;
}

.carousel-empty svg {
    stroke: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.carousel-empty h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.carousel-empty p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .carousel-slide {
        min-width: calc((100% - 20px) / 2); /* 2 slides visible */
    }
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-slide {
        min-width: 100%; /* 1 slide visible */
    }

    .carousel-slide-image {
        height: 220px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-slide-info {
        padding: 1.25rem;
    }

    .carousel-slide-info h4 {
        font-size: 1.2rem;
    }
}

/* Footer Social Media */
.footer-social {
    animation: logoFadeIn 0.8s ease-out 0.1s both;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   INSTAGRAM FEED SECTION
   ======================================== */

.instagram-feed {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 80px 0;
}

.instagram-handle {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-handle:hover {
    color: var(--accent-color);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 3rem 0;
}

.instagram-post {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates 1:1 aspect ratio (square) */
    overflow: hidden;
    border-radius: 12px;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: var(--light-cream);
}

.instagram-post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-post img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post-overlay p {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.instagram-cta {
    text-align: center;
    margin-top: 2rem;
}

.instagram-cta .btn-large {
    background: var(--primary-color);
    border: none;
}

.instagram-cta .btn-large:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-feed {
        padding: 60px 0;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 2rem 0;
    }

    .instagram-post-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}
