/* ===== CSS Variables ===== */
:root {
    --primary-color: #2F80ED;
    --secondary-color: #56CCF2;
    --accent-color: #FFD700;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Georgia', serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&h=1080&fit=crop'), 
                      linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.8), rgba(86, 204, 242, 0.8));
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(47, 128, 237, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===== About Section ===== */
.about {
    background: var(--gray-100);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-weight: 300;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.feature span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.about-images {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
}

@media (max-width: 768px) {
    .about-badge {
        width: 100px;
        height: 100px;
        top: -10px;
        right: -10px;
    }
    
    .badge-number {
        font-size: 2.5rem;
    }
    
    .badge-text {
        font-size: 0.7rem;
    }
}

.badge-number {
    font-size: 3rem;
    font-weight: 700;
}

.badge-text {
    font-size: 0.8rem;
    text-align: center;
}

/* ===== Menu Section ===== */
.menu {
    padding: 100px 0;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-tab {
    background: transparent;
    border: 2px solid var(--gray-300);
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--gray-700);
}

.menu-tab.active,
.menu-tab:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    border-bottom: 1px dashed var(--gray-300);
    padding-bottom: 20px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.menu-item h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
}

.menu-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== Specials Section ===== */
.specials {
    background: var(--gray-100);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
}

.special-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.special-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-card:hover .special-image img {
    transform: scale(1.1);
}

.special-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.special-content {
    padding: 30px;
}

.special-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.special-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.special-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.special-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

/* Gallery styles moved to Image Placeholders section below */

/* ===== Reservations Section ===== */
.reservations {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.reservations .section-title {
    color: white;
}

.reservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hours {
    margin: 40px 0;
}

.hours h3 {
    color: white;
    margin-bottom: 20px;
}

.hours-list {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.reservation-notes p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.reservation-notes i {
    margin-right: 10px;
}

.reservation-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
}

.form-group textarea + i {
    top: 20px;
    transform: none;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray-600);
}

.contact-map iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 0 50px 50px 0;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--primary-color);
}

.created-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.created-by span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.skyrise-logo-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.skyrise-logo {
    height: 35px;
    width: auto;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.skyrise-logo-link:hover {
    transform: scale(1.05);
}

.skyrise-logo-link:hover .skyrise-logo {
    filter: brightness(1.3);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px 0;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-9px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-8px, -8px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .reservation-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .specials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        min-height: 250px;
    }
    
    .about-image-wrapper {
        min-height: 250px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .special-image {
        height: 180px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .menu-tab {
        padding: 6px 15px;
        font-size: 12px;
    }
}

/* ===== Image Placeholders ===== */
/* When images are missing or fail to load, show gradient placeholders */

/* About section image placeholder */
.about-images {
    position: relative;
    min-height: 400px;
}

.about-image-wrapper {
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Special cards - gradient backgrounds for images */
.special-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.special-card:nth-child(1) .special-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.special-card:nth-child(2) .special-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.special-card:nth-child(3) .special-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Special image placeholder icon */
.special-image .placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    z-index: 1;
    transition: transform 0.3s ease;
}

.special-card:hover .special-image .placeholder-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Gallery items - gradient backgrounds */
.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery placeholder icon (fallback) */
.gallery-item .placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Gallery hover effect for placeholder icons */
.gallery-item:hover .placeholder-icon {
    transform: translate(-50%, -50%) scale(1.1);
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}