/* ============================================
   INDEX PAGE - CUSTOM STYLING
   Elegant Home Page Design
   ============================================ */

@import url('base.css');

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 50%, var(--dark) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(201, 168, 109, 0.03) 35px,
            rgba(201, 168, 109, 0.03) 70px
        );
    pointer-events: none;
    z-index: 1;
    animation: none;
}

.hero-section .container-xl {
    position: relative;
    z-index: 2;
}

.hero-content {
    z-index: 3;
}

.hero-content .ornament {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-section .divider-line {
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.hero-buttons .btn-elegant {
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.hero-buttons .btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    z-index: -1;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons .btn-elegant:hover {
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 168, 109, 0.3);
}

.hero-buttons .btn-elegant:hover::before {
    left: 0;
}

.hero-buttons .btn-elegant-filled {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.hero-buttons .btn-elegant-filled::before {
    background: var(--gold-dark);
    left: 0;
}

.hero-buttons .btn-elegant-filled:hover {
    background: var(--gold-dark);
    color: var(--gold-light);
    border-color: var(--gold-dark);
    transform: translateY(-3px);
}

.hero-buttons .btn-elegant-filled:hover::before {
    left: 100%;
}

.hero-buttons .btn-elegant i {
    transition: transform 0.4s ease;
}

.hero-buttons .btn-elegant:hover i {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .hero-buttons .btn-elegant {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-section .image-frame {
        margin-top: 2rem;
    }
}

/* About Section */
.about-section {
    background: var(--dark);
    padding: 4rem 0;
}

.about-section .ornament {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.about-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-section .divider-line {
    margin: 2rem 0;
}

.about-section .btn-elegant {
    display: inline-block;
}

.image-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-frame::before,
.image-frame::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    animation: none;
}

.image-frame::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1;
}

.image-frame:hover {
    transform: scale(1.02);
}

.image-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: auto;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-frame:hover .image-wrapper img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .image-frame {
        margin-bottom: 2rem;
    }
}

/* Featured Section */
.featured-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 50%, var(--dark) 100%);
    padding: 4rem 0;
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(201, 168, 109, 0.03) 35px,
            rgba(201, 168, 109, 0.03) 70px
        );
    pointer-events: none;
    animation: none;
}

.featured-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.section-header .ornament {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header p {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.featured-section .row {
    position: relative;
    z-index: 2;
}

/* Dish Card */
.dish-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(201, 168, 109, 0.1);
}

.dish-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(201, 168, 109, 0.15);
}

.dish-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dish-card:hover .dish-image img {
    transform: scale(1.1);
}

.dish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.7);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dish-card:hover .dish-overlay {
    opacity: 1;
}

.dish-label {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dish-info {
    padding: 1.5rem;
}

.dish-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dish-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.dish-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .featured-section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Gallery Section */
.gallery-section {
    background: var(--dark);
    padding: 4rem 0;
}

.gallery-section .section-header {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 1 / 3;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    border: 2px solid rgba(201, 168, 109, 0.15);
    transition: border-color 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--gold);
}

.gallery-item .image-wrapper {
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

@media (max-width: 768px) {
    .gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 50%, rgba(15, 15, 15, 0.95) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23c9a86d" stroke-width="0.5" opacity="0.1"/></svg>');
    background-attachment: fixed;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(201, 168, 109, 0.02) 35px,
            rgba(201, 168, 109, 0.02) 70px
        );
    pointer-events: none;
    animation: none;
}

.cta-section .ornament {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
    animation: pulse 3s ease-in-out infinite;
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section .lead {
    color: var(--text-light);
    font-size: 1.25rem;
    line-height: 1.8;
}

.cta-section .divider-line {
    margin: 2rem auto;
}

.cta-section .btn-elegant {
    display: inline-block;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .lead {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@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 pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    animation: fadeInUp 1s ease-in-out forwards;
}

[data-aos="slide-in-left"] {
    opacity: 0;
    transform: translateX(-50px);
}

[data-aos="slide-in-left"].aos-animate {
    animation: slideInLeft 1s ease-in-out forwards;
}

[data-aos="slide-in-right"] {
    opacity: 0;
    transform: translateX(50px);
}

[data-aos="slide-in-right"].aos-animate {
    animation: slideInRight 1s ease-in-out forwards;
}

/* Section Entrance Effects */
.section {
    position: relative;
}

/* Responsive Utilities */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .dish-info h3 {
        font-size: 1.25rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 3/4;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
