/* --- CSS VARIABLES START --- */
:root {
    --burnt-sienna: #e1a6ad;
    --ivory-sand: #E4D6C5;
    --stormy-sky: #78898F;
    --sage-green: #8D957E;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --header-height: 70px;
    --footer-height: 60px;
    --container-padding: 40px;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}
/* --- CSS VARIABLES END --- */

/* --- RESET & BASE START --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* --- RESET & BASE END --- */

/* --- HEADER START --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition-fast);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-button {
    font-size: 0.95rem;
    color: var(--stormy-sky);
    padding: 4px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--burnt-sienna);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-button:hover {
    color: var(--burnt-sienna);
}

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

.nav-button.active {
    color: var(--burnt-sienna);
    font-weight: 500;
}

.nav-button.active::after {
    width: 100%;
}

/* Навигация как ссылки */
.nav-button[href] {
    display: inline-block;
    color: var(--stormy-sky);
    text-decoration: none;
    cursor: pointer;
    padding: 4px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-button[href]:hover {
    color: var(--burnt-sienna);
}

.nav-button[href].active {
    color: var(--burnt-sienna);
    font-weight: 500;
}

/* Убираем подчеркивание и анимацию для кнопок навигации */
.nav-button[href]::after {
    display: none !important;
}

/* Навигация на странице категории */
.nav-link {
    font-size: 0.95rem;
    color: var(--stormy-sky);
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--burnt-sienna);
}

.nav-link.active {
    color: var(--burnt-sienna);
    font-weight: 500;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--stormy-sky);
    font-size: 0.95rem;
    font-family: inherit;
    padding: 4px 0;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.share-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--burnt-sienna);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.share-button:hover {
    color: var(--burnt-sienna);
}

.share-button:hover::after {
    width: 100%;
}

.share-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* --- HEADER END --- */

/* --- MAIN START --- */
.main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    position: relative;
    overflow: hidden;
}
/* --- MAIN END --- */

/* --- PAGE TRANSITIONS START --- */
.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    pointer-events: none;
}

.page.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.page.sliding-left {
    transform: translateX(-100px);
    opacity: 0;
}

.page.sliding-right {
    transform: translateX(100px);
    opacity: 0;
}

.page-content {
    padding: 60px var(--container-padding);
    max-width: 1400px;
    margin: 0 auto;
}
/* --- PAGE TRANSITIONS END --- */

/* --- HERO START --- */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--footer-height) - 120px);
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

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

.hero-video-container.hidden {
    display: none;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slideshow.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
    animation: heroZoom 12s ease-in-out infinite alternate;
}

.hero-slide.active {
    opacity: 1;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-fallback-bg.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 40px;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
/* --- HERO END --- */

/* --- BUTTONS START --- */
.btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--burnt-sienna);
    color: var(--white);
    border: 2px solid var(--burnt-sienna);
}

.btn-primary:hover {
    background-color: var(--sage-green);
    border-color: var(--sage-green);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-gray);
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
}
/* --- BUTTONS END --- */

/* --- SECTION HEADER START --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--burnt-sienna);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stormy-sky);
}
/* --- SECTION HEADER END --- */

/* --- PORTFOLIO CATEGORIES START --- */
.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.category-card {
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.category-card:hover .category-card-image img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-overlay {
    opacity: 0.5;
}

.category-card-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.category-card:hover .category-card-title {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-view-all {
    text-align: center;
    margin-top: 40px;
}

.text-link {
    display: inline-block;
    position: relative;
    color: var(--stormy-sky);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--burnt-sienna);
}

.text-link::before,
.text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--burnt-sienna);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-link::before {
    left: 50%;
}

.text-link::after {
    right: 50%;
}

.text-link:hover::before,
.text-link:hover::after {
    width: 50%;
}
/* --- PORTFOLIO CATEGORIES END --- */

/* --- WHY US SECTION START --- */
.why-us-section {
    background-color: var(--stormy-sky);
    border-radius: 16px;
    padding: 60px 40px;
    margin-top: 60px;
    color: var(--white);
}

.why-us-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-us-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-us-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--ivory-sand);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.why-us-item:hover .why-us-icon {
    color: var(--white);
    filter: drop-shadow(0 0 12px rgba(228, 214, 197, 0.5));
    transform: translateY(-4px);
}

.why-us-item-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--white);
    line-height: 1.3;
}

.why-us-item-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
/* --- WHY US SECTION END --- */

/* --- SERVICES CARDS GRID START --- */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.service-card-photo {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.service-card-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--ivory-sand);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-photo:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sage-green);
    margin-bottom: 20px;
}

.btn-order {
    width: 100%;
    padding: 14px 24px;
    background-color: var(--sage-green);
    color: var(--white);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
    margin-top: auto;
}

.btn-order:hover {
    background-color: var(--burnt-sienna);
    transform: translateY(-2px);
}

.btn-order-dark {
    background-color: var(--sage-green);
}

.btn-order-dark:hover {
    background-color: var(--burnt-sienna);
}
/* --- SERVICES CARDS GRID END --- */

/* --- WHATS INCLUDED START --- */
.whats-included-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    margin: 12px 0;
    background-color: transparent;
    border: 1px solid var(--ivory-sand);
    border-radius: 6px;
    color: var(--stormy-sky);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whats-included-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--sage-green);
    color: var(--dark-gray);
}

.whats-included-btn.active {
    background-color: var(--ivory-sand);
    border-color: var(--burnt-sienna);
    color: var(--burnt-sienna);
}

.whats-included-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whats-included-btn.active .whats-included-icon {
    transform: rotate(180deg);
}

.whats-included-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.whats-included-content.open {
    max-height: 600px;
    opacity: 1;
    margin-bottom: 16px;
}

.included-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.included-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--stormy-sky);
    line-height: 1.5;
}

.included-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 1px;
    background-color: var(--burnt-sienna);
}

.included-footer {
    padding: 10px 14px;
    background-color: var(--light-gray);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--stormy-sky);
    border-left: 2px solid var(--sage-green);
}

.included-footer strong {
    color: var(--dark-gray);
    font-weight: 600;
}
/* --- WHATS INCLUDED END --- */

/* --- WEDDING PRICING START --- */
.wedding-pricing {
    padding-top: 40px;
    border-top: 1px solid var(--ivory-sand);
}

.wedding-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.wedding-card {
    background-color: var(--white);
    border: 2px solid var(--ivory-sand);
    border-radius: 16px;
    padding: 36px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.wedding-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.wedding-card-basic {
    background-color: #fdf2f4;
    border-color: #f5c6d0;
}

.wedding-card-basic .wedding-card-icon {
    background-color: #f5a0b5;
    color: var(--white);
}

.wedding-card-popular {
    background-color: #fdf8ec;
    border-color: #e6c84a;
}

.wedding-card-popular .wedding-card-icon {
    background-color: #f0b820;
    color: var(--white);
}

.wedding-card-luxury {
    background-color: #f4f4f6;
    border-color: #d8d8de;
}

.wedding-card-luxury .wedding-card-icon {
    background-color: #f5a0b5;
    color: var(--white);
}

.wedding-card-badge {
    position: absolute;
    top: -14px;
    right: 30px;
    background-color: var(--burnt-sienna);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.wedding-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wedding-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.wedding-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.wedding-card-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--stormy-sky);
    line-height: 1.5;
}

.wedding-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 2px;
    background-color: var(--burnt-sienna);
}

.wedding-card-timing {
    font-size: 0.9rem;
    color: var(--stormy-sky);
    font-style: italic;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--ivory-sand);
}

.wedding-card-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sage-green);
    margin-bottom: 24px;
}

.wedding-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    background-color: var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--stormy-sky);
}

.wedding-extra svg {
    color: var(--stormy-sky);
    flex-shrink: 0;
}

.wedding-extra strong {
    color: var(--dark-gray);
}
/* --- WEDDING PRICING END --- */

/* --- ABOUT START --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--stormy-sky);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
}
/* --- ABOUT END --- */

/* --- CONTACTS START --- */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--burnt-sienna);
    margin-bottom: 12px;
}

.contact-item a {
    color: var(--stormy-sky);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--burnt-sienna);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--ivory-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--burnt-sienna);
    transform: translateY(-4px);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}
/* --- CONTACTS END --- */

/* --- CONTACT FORM START --- */
.contact-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burnt-sienna);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: var(--stormy-sky);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-input {
    padding: 14px 18px;
    border: 1.5px solid var(--ivory-sand);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    color: var(--dark-gray);
}

.form-input:focus {
    outline: none;
    border-color: var(--burnt-sienna);
    box-shadow: 0 0 0 3px rgba(225, 166, 173, 0.15);
}

.form-input.error {
    border-color: var(--burnt-sienna);
    background-color: #fdf2f4;
}

.form-error {
    font-size: 0.8rem;
    color: var(--burnt-sienna);
    min-height: 16px;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--stormy-sky);
}

.form-hint svg {
    flex-shrink: 0;
    color: var(--stormy-sky);
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--burnt-sienna);
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--stormy-sky);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--burnt-sienna);
    text-decoration: underline;
}

.form-sublabel {
    font-size: 0.8rem;
    color: var(--stormy-sky);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.form-status {
    text-align: center;
    font-size: 0.95rem;
    min-height: 24px;
}

.form-status.success {
    color: var(--sage-green);
}

.form-status.error {
    color: var(--burnt-sienna);
}
/* --- CONTACT FORM END --- */

/* --- ALT CONTACTS START --- */
.alt-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alt-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    background-color: var(--light-gray);
    border-radius: 8px;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
}

.alt-contact-item.active {
    background-color: var(--white);
    border-color: var(--ivory-sand);
}

.alt-contact-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    min-width: 140px;
}

.alt-contact-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--burnt-sienna);
    cursor: pointer;
    flex-shrink: 0;
}

.alt-contact-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.alt-contact-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.alt-contact-item.active .alt-contact-field {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.form-input-sm {
    padding: 8px 12px;
    font-size: 0.85rem;
    max-width: 220px;
}

.alt-contact-hint {
    font-size: 0.7rem;
    color: var(--stormy-sky);
    font-style: italic;
    padding-left: 4px;
}
/* --- ALT CONTACTS END --- */

/* --- FOOTER START --- */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--ivory-sand);
    padding: 20px 0 16px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--stormy-sky);
    font-size: 0.85rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
    padding: 0;
}

.footer-link:hover {
    color: var(--burnt-sienna);
}

.footer-divider {
    color: var(--ivory-sand);
    font-size: 0.85rem;
    user-select: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ivory-sand);
    font-size: 0.8rem;
    color: var(--stormy-sky);
}
/* --- FOOTER END --- */

/* --- DEVELOPER LINK START --- */
.developer-link {
    color: var(--burnt-sienna);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-link:hover {
    color: var(--sage-green);
}

.developer-link::after {
    display: none !important;
}
/* --- DEVELOPER LINK END --- */

/* --- MODAL BASE START --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    min-width: 300px;
    max-width: 90%;
    transition: transform 0.3s ease;
    overflow: visible;
}

.modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--burnt-sienna);
    margin-bottom: 24px;
    text-align: center;
}

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

.share-option {
    padding: 14px 24px;
    background-color: var(--ivory-sand);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.share-option:hover {
    background-color: var(--burnt-sienna);
    color: var(--white);
}

#shareModal .modal-content {
    max-width: 340px;
    width: 90%;
    padding: 40px 28px 32px;
}

.modal-order {
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
}

.modal-terms {
    max-width: 720px;
    width: 92%;
    max-height: 85vh;
}

.modal-body {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(90vh - 80px);
    padding-right: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--ivory-sand) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
    position: absolute;
    right: -14px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--ivory-sand);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--burnt-sienna);
}

.modal-body::-webkit-scrollbar-button {
    display: block;
    height: 10px;
}

.modal-order .modal-body {
    max-height: calc(90vh - 80px);
}

.modal-terms .modal-body {
    max-height: calc(85vh - 80px);
}

.order-summary {
    background-color: var(--ivory-sand);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.order-summary-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--burnt-sienna);
    flex: 1;
    min-width: 200px;
}

.order-summary-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-gray);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
/* --- MODAL BASE END --- */

/* --- UNIVERSAL CLOSE BUTTON START --- */
.modal-close,
.lightbox-close {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transform-origin: center center;
    transition: transform 0.3s ease;
    z-index: 10;
}

.modal-close {
    top: -16px;
    right: -16px;
}

.lightbox-close {
    top: 30px;
    right: 40px;
    z-index: 3001;
}

.modal-close::before,
.lightbox-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffffff;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.modal-close::after,
.lightbox-close::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--burnt-sienna);
    z-index: 2;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
}

.modal-close svg,
.lightbox-close svg {
    position: relative;
    z-index: 3;
    width: 18px;
    height: 18px;
    pointer-events: none;
    display: block;
}

.modal-close svg line,
.lightbox-close svg line {
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.modal-close:hover,
.lightbox-close:hover {
    transform: rotate(90deg);
}

.modal-close:hover::after,
.lightbox-close:hover::after {
    transform: scale(1.15);
    background-color: #c9899180;
}

.lightbox-close:hover {
    color: var(--burnt-sienna);
}
/* --- UNIVERSAL CLOSE BUTTON END --- */

/* --- LIGHTBOX START --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
    padding: 0;
}

.lightbox-nav:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(4px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.4s ease;
}

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

.lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-size: 1rem;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    letter-spacing: 1px;
}
/* --- LIGHTBOX END --- */

/* --- TERMS MODAL START --- */
.terms-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.terms-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--stormy-sky);
    margin: 0;
}

.terms-text strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.terms-block {
    padding: 18px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    border-left: 3px solid var(--ivory-sand);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terms-block--highlight {
    background-color: var(--ivory-sand);
    border-left-color: var(--burnt-sienna);
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.terms-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--burnt-sienna);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-icon svg {
    width: 22px;
    height: 22px;
}

.terms-alert {
    background-color: #fdf2f4;
    border: 1px solid #f5c6d0;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.terms-alert__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--burnt-sienna);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-alert__icon svg {
    width: 20px;
    height: 20px;
}

.terms-alert__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    padding-top: 8px;
}

.terms-warning {
    background-color: var(--burnt-sienna);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-warning__text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.terms-info {
    background-color: #f0f4f1;
    border: 1px solid var(--sage-green);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.terms-info__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--sage-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-info__icon svg {
    width: 20px;
    height: 20px;
}

.terms-info__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    padding-top: 8px;
}

.terms-note {
    padding: 14px 18px;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--stormy-sky);
    font-style: italic;
}

.terms-note p {
    margin: 0;
}

.terms-link {
    display: inline-block;
    position: relative;
    color: var(--stormy-sky);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 0;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--burnt-sienna);
}

.terms-link::before,
.terms-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--burnt-sienna);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.terms-link::before {
    left: 50%;
}

.terms-link::after {
    right: 50%;
}

.terms-link:hover::before,
.terms-link:hover::after {
    width: 50%;
}
/* --- TERMS MODAL END --- */

/* --- HONEYPOT START --- */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}
/* --- HONEYPOT END --- */

/* --- GLOBAL LINK UNDERLINE START --- */
a:not(.btn):not(.social-link):not(.portfolio-item *):not(.text-link):not(.terms-link),
.footer-link {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

a:not(.btn):not(.social-link):not(.portfolio-item *):not(.text-link):not(.terms-link)::after,
.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--burnt-sienna);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

a:not(.btn):not(.social-link):not(.portfolio-item *):not(.text-link):not(.terms-link):hover::after,
.footer-link:hover::after {
    width: 100%;
}
/* --- GLOBAL LINK UNDERLINE END --- */

/* --- RESPONSIVE START --- */
@media (max-width: 1100px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 20px var(--container-padding);
        gap: 20px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main {
        margin-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .wedding-cards-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .portfolio-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

      .category-card-title {
        opacity: 1;
        transform: translateY(0);
        bottom: 16px;
        font-size: 1rem;
    }
    
    .category-overlay {
        opacity: 0.6;
    }

    .why-us-section {
        padding: 40px 24px;
        margin-top: 40px;
    }
    
    .why-us-title {
        font-size: 1.5rem;
        margin-bottom: 36px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .why-us-item {
        max-width: 340px;
        margin: 0 auto;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .lightbox-close::after {
        width: 38px;
        height: 38px;
    }
    
    .lightbox-close svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 20px;
    }
    
    .nav-button {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .wedding-card {
        padding: 28px 22px;
    }
    
    .order-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .alt-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .alt-contact-label {
        min-width: auto;
    }
    
    .alt-contact-field {
        width: 100%;
    }
    
    .form-input-sm {
        max-width: 100%;
    }
    
    .footer {
        padding: 16px 0 12px;
    }
    
    .footer-container {
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .modal-terms {
        padding: 30px 22px;
    }
    
    .terms-block--highlight {
        flex-direction: column;
    }
    
    .terms-alert,
    .terms-info {
        flex-direction: column;
    }
    
    .terms-alert__text,
    .terms-info__text {
        padding-top: 0;
    }
    
    .portfolio-categories {
        grid-template-columns: 1fr;
    }
}
/* --- RESPONSIVE END --- */

/* --- BURGER BUTTON START --- */
.burger-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-button.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-button.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-button.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 968px) {
    .burger-button {
        display: flex;
    }
    
    .share-button span {
        display: none;
    }
    
    .share-button svg {
        width: 22px;
        height: 22px;
    }
}
/* --- BURGER BUTTON END --- */

/* --- MOBILE MENU START --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 968px) {
    .header-container {
        flex-wrap: nowrap;
        height: var(--header-height);
        padding: 0 var(--container-padding);
        gap: 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-button {
        width: 100%;
        text-align: left;
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--ivory-sand);
    }
    
    .nav-button::after {
        display: none;
    }
    
    .nav-button.active {
        color: var(--burnt-sienna);
        font-weight: 600;
    }
    
    .nav-button:hover {
        color: var(--burnt-sienna);
    }
    
    .main {
        margin-top: var(--header-height);
    }
}
/* --- MOBILE MENU END --- */

/* --- TERMS LINK IN FORM START --- */
.open-terms-link {
    color: var(--burnt-sienna);
    text-decoration: underline;
    cursor: pointer;
}

.open-terms-link:hover {
    color: var(--stormy-sky);
}

.open-terms-link::after {
    display: none !important;
}
/* --- TERMS LINK IN FORM END --- */

/* --- CATEGORY GALLERY START --- */
.category-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--light-gray);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.back-to-portfolio {
    text-align: center;
    margin: 40px 0;
}

.back-link {
    display: inline-block;
    color: var(--stormy-sky);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--ivory-sand);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: var(--burnt-sienna);
    border-color: var(--burnt-sienna);
    color: var(--white);
}

.no-photos {
    text-align: center;
    font-size: 1.2rem;
    color: var(--stormy-sky);
    padding: 60px 20px;
}

@media (max-width: 768px) {
    .category-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .category-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .back-link {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}
/* --- CATEGORY GALLERY END --- */

/* --- ALT CONTACT MODAL START --- */
.alt-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    background: rgba(44, 44, 44, 0.55);
    z-index: 3000;
    display: none;
}

.alt-contact-modal.active {
    display: flex;
}
.alt-contact-dialog {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 420px;
    padding: 32px 24px 24px;
    background: var(--white, #ffffff);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.alt-contact-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: default;
}

.alt-contact-modal .modal-content {
    position: relative;
    z-index: 1;
    background: var(--white, #ffffff);
    border-radius: 16px;
    padding: 32px 24px 24px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.alt-contact-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-right: 40px;
}

.alt-contact-subtitle {
    color: var(--stormy-sky, #78898f);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.alt-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alt-contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 1px solid var(--ivory-sand, #e5dccb);
    border-radius: 12px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.alt-contact-row:hover {
    border-color: var(--burnt-sienna, #984216);
    background-color: rgba(152, 66, 22, 0.03);
}

.alt-contact-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c2c2c;
}

.alt-contact-copy {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--stormy-sky, #78898f);
    border-bottom: 1px dashed currentColor;
    transition: color 0.3s ease;
    font-family: inherit;
}

.alt-contact-copy:hover {
    color: var(--burnt-sienna, #984216);
}

.alt-contact-copy.copied {
    color: var(--sage-green, #8d957e);
    border-bottom-color: transparent;
}

.alt-contact-go {
    margin-top: 4px;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--burnt-sienna, #984216);
    color: var(--white, #ffffff);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.alt-contact-go:hover {
    background-color: #7a3411;
    opacity: 0.95;
}

@media (max-width: 480px) {
    .alt-contact-modal {
        padding: 16px;
    }
}
/* --- ALT CONTACT MODAL END --- */