/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors */
    --primary-color: #d4a574;
    --primary-dark: #b8854f;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --overlay: rgba(0, 0, 0, 0.6);
    --success: #27ae60;
    --warning: #f39c12;

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

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

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: var(--spacing-sm) auto;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-normal);
    font-size: 1rem;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav__title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-family: var(--font-primary);
}

.nav__menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(212, 165, 116, 0.6));
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--bg-white);
    animation: fadeInUp 1s ease;
}

.hero__title {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-weight: 300;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.25rem;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.stars--large .star {
    font-size: 2rem;
}

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

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.hero__indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero__indicator.active {
    background: var(--primary-color);
    width: 30px;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.about__card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.about__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.about__card-title {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.about__card-text {
    color: var(--text-light);
}

/* Features */
.features {
    margin-top: var(--spacing-lg);
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.features__title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.feature:hover {
    background: var(--bg-light);
}

.feature__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature__title {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature__text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Price Info */
.price-info {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.price-info__badge {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-md);
}

.price-info__label {
    font-weight: 500;
}

.price-info__value {
    font-weight: 700;
    font-size: 1.25rem;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
}

.gallery__filter:hover,
.gallery__filter.active {
    background: var(--primary-color);
    color: var(--bg-white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery__item.hidden {
    display: none;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__zoom {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.gallery__zoom:hover {
    transform: scale(1.1);
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.reviews__rating-box {
    text-align: center;
}

.reviews__rating-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.reviews__count {
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

.reviews__breakdown-item {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.reviews__breakdown-label {
    font-weight: 500;
    color: var(--text-dark);
}

.reviews__breakdown-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.reviews__breakdown-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 1s ease;
}

.reviews__breakdown-score {
    font-weight: 600;
    text-align: right;
}

.review {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.review__header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.review__avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.review__info {
    flex: 1;
}

.review__meta {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    margin-bottom: 0.25rem;
}

.review__badge {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.review__count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.review__date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.review__context {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.review__context-item {
    font-size: 0.9rem;
    color: var(--text-light);
}

.review__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.review__detail-title {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.review__detail-list {
    list-style: none;
}

.review__detail-list li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

.review__images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.review__images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.review__images img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: var(--spacing-sm);
    transition: var(--transition-normal);
}

.contact__card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.contact__card--full {
    grid-column: 1 / -1;
}

.contact__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact__title {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.contact__text {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact__note {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.contact__phone {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact__phone:hover {
    color: var(--primary-dark);
}

.contact__link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: var(--spacing-xs);
    transition: var(--transition-fast);
}

.contact__link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours__item:last-child {
    border-bottom: none;
}

.hours__day {
    font-weight: 600;
}

.hours__day--open {
    color: var(--success);
}

.hours__day--closed {
    color: var(--text-muted);
}

.hours__time {
    color: var(--text-light);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.footer__text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer__heading {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer__links li,
.footer__contact li {
    margin-bottom: 0.5rem;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-md);
}

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close {
    top: 2rem;
    right: 2rem;
}

.lightbox__prev {
    left: 2rem;
}

.lightbox__next {
    right: 2rem;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2.5rem;
    }

    .contact__content {
        grid-template-columns: 1fr;
    }

    .reviews__summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }

    .nav__menu.active {
        transform: translateX(0);
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        min-height: 500px;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .reviews__breakdown-item {
        grid-template-columns: 80px 1fr 40px;
        font-size: 0.9rem;
    }

    .review__header {
        flex-wrap: wrap;
    }

    .contact__card {
        flex-direction: column;
        text-align: center;
    }

    .hours__item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox__prev,
    .lightbox__next {
        bottom: 1rem;
        top: auto;
    }

    .lightbox__prev {
        left: 1rem;
    }

    .lightbox__next {
        right: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .gallery__filters {
        gap: 0.5rem;
    }

    .gallery__filter {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .review__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .review__context {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .nav,
    .hero__indicators,
    .gallery__filters,
    .lightbox,
    .btn {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 300px;
    }

    * {
        box-shadow: none !important;
    }
}