* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Style for the header when scrolled */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    
}

.heron-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: width 0.4s ease, height 0.4s ease;
}

.logo h1 {
    color: #1a3c6e;
    font-size: 22px;
}

nav a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

nav a:hover {
    color: #1a3c6e;
}

.reserve-btn {
    background-color: #1a3c6e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.reserve-btn:hover {
    background-color: #153a6a;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: #1a3c6e;
    border-radius: 2px;
}

/* Nav links for desktop */
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Container for nav elements */
.nav-container {
    display: flex;
    align-items: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        width: 200px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-links a,
    .nav-links .reserve-btn {
        display: block;
        margin: 15px;
    }

    .hamburger {
        display: flex;
    }

    /* When nav is active (JS will add this class) */
    .nav-links.active {
        max-height: 500px; /* Enough to show all items */
    }
}

/* ===== Hero Section Styling ===== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* ensures image stays inside container */
    
}
.hero-content h2,
.hero-content p,
.hero-content .info {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}


/* Hero Background Image with Zoom-Out Animation */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/2.jpg');
    background-size: cover;
    background-position: center;    
    transform: scale(1.2); /* start zoomed in */
    animation: zoomOut 12s ease-out forwards; /* smooth zoom-out */
    z-index: 1;
}

/* Dark overlay for better text visibility */


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Hero text content should appear above the image and overlay */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    animation: fadeInUp 1.5s ease-out; /* subtle fade-up entrance */
}

/* Keyframes for zoom-out background image */
@keyframes zoomOut {
    from {
        transform: scale(1.2); /* start zoomed in */
    }
    to {
        transform: scale(1); /* zoom out to normal */
    }
}

/* Keyframes for fade-up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    padding: 20px;
}

.rating {
    background-color: #ffeb3b;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

h2 {
    font-size: 48px;
    margin: 10px 0;
    font-family: cursive;
}

.features {
    margin: 20px 0;
}

.feature {
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    padding: 5px 15px;
    border-radius: 15px;
    margin: 0 10px;
}

.buttons {
    margin: 20px 0;
}

.book-btn {
    background-color: #1a3c6e;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.book-btn:hover {
    background-color: #153a6a;
}

.menu-btn {
    background-color: #fff;
    color: #1a3c6e;
    border: 2px solid #1a3c6e;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.menu-btn:hover {
    background-color: #f0f0f0;
}

.info {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}


nav a,
.reserve-btn,
.book-btn,
.menu-btn,
.feature {
    transition: all 0.3s ease-in-out;
}

.book-btn:hover,
.menu-btn:hover,
.reserve-btn:hover {
    transform: scale(1.05);
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.9);
}


.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    nav {
        margin-top: 10px;
    }

    nav a, .reserve-btn {
        display: block;
        margin: 10px 0;
    }

    h2 {
        font-size: 36px;
    }

    .features .feature {
        display: block;
        margin: 10px 0;
    }

    .buttons {
        flex-direction: column;
    }

    .book-btn, .menu-btn {
        width: 100%;
        margin: 10px 0;
    }
}

/* ===== About Us Section ===== */
.about-section {
    padding: 100px 50px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 450px;
}

.about-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.about-image-large,
.about-image-small {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image-large img,
.about-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-large:hover img,
.about-image-small:hover img {
    transform: scale(1.05);
}

.about-image-large {
    height: 400px;
}

.about-image-small-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-small {
    width: 100%;
    height: 250px;
}

/* Text styling */
.about-text h2 {
    font-size: 36px;
    color: #1a3c6e;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .about-section {
        padding: 50px 20px;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h2 {
        font-size: 28px;
        text-align: center;
    }

    .about-text p {
        font-size: 16px;
        text-align: center;
    }
}

/* ===== Menu Section ===== */
.menu-section {
    padding: 80px 50px;
    background-color: #fff;
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    color: #1a3c6e;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Menu grid container */
.menu-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Menu cards */
.menu-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

/* Hover effect: scale and shadow */
.menu-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Menu card image */
.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Menu card text */
.menu-card h3 {
    font-size: 22px;
    color: #1a3c6e;
    margin: 15px 0 10px 0;
}

.menu-card p {
    font-size: 16px;
    color: #555;
    padding: 0 15px 20px 15px;
}

/* Keyframes for fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Scroll Animation (Fade Up) ===== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes for fade-right animation */
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-right {
    animation: fadeRight 1s ease-out forwards;
}


/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        align-items: center;
    }

    .menu-card {
        width: 90%;
    }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 50px;
    background-color: #fff;
    text-align: center;
}

.testimonials-section .section-header h2 {
    font-size: 36px;
    color: #1a3c6e;
    margin-bottom: 10px;
}

.testimonials-section .section-header p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

.testimonials-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #f9f9f9;
    border-left: 5px solid #1a3c6e;
    padding: 30px;
    width: 350px;
    text-align: left;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 18px;
}

/* ===== Events Section ===== */
.events-section {
    padding: 80px 50px;
    background-color: #f9f9f9;
    text-align: center;
}

.events-section .section-header h2 {
    font-size: 36px;
    color: #1a3c6e;
    margin-bottom: 10px;
}

.events-section .section-header p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Events container grid */
.events-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Event card */
.event-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

/* Hover effect */
.event-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

/* Event card image */
.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Event card text */
.event-card h3 {
    font-size: 22px;
    color: #1a3c6e;
    margin: 15px 15px 10px 15px;
}

.event-card p {
    font-size: 16px;
    color: #555;
    margin: 0 15px 10px 15px;
}

.event-card .event-date {
    display: block;
    font-size: 14px;
    color: #999;
    margin: 0 15px 15px 15px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .events-container {
        flex-direction: column;
        align-items: center;
    }

    .event-card {
        width: 90%;
    }
}

/* ===== Reservation Page ===== */
.reservation-section {
    padding: 60px 50px;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 20px;
    overflow: hidden;
}

.reservation-info {
    padding: 40px;
    background-color: #fdfdfd;
}

.reservation-info .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.reservation-form {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    width: 100%;
    text-align: left;
}

.form-group-half {
    width: calc(50% - 10px);
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #1a3c6e;
    box-shadow: 0 0 5px rgba(26, 60, 110, 0.2);
}

.form-group .book-btn {
    width: 100%;
    margin-top: 10px;
}

/* New styles for info side */
.reservation-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.info-block {
    text-align: left;
    margin-bottom: 20px;
}

.info-block h3 {
    font-size: 18px;
    color: #1a3c6e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.info-block .icon {
    margin-right: 10px;
}

.info-block p {
    color: #555;
}

/* Responsive for reservation form */
@media (max-width: 768px) {
    .reservation-section {
        padding: 40px 20px;
    }
    .reservation-container {
        grid-template-columns: 1fr;
    }
    .reservation-form {
        padding: 30px;
    }
    .form-group-half {
        width: 100%;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 80px 50px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-info h3 {
    font-size: 24px;
    color: #1a3c6e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info .icon {
    margin-right: 15px;
    color: #1a3c6e;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    min-height: 350px;
}

/* Responsive for contact section */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }
    .contact-container {
        padding: 30px;
    }
}

/* ===== Footer Section ===== */
footer {
    background-color: #1a3c6e;
    color: #f0f0f0;
    padding: 60px 50px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-container h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-container h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ffc107;
}

.footer-about p, .footer-contact p {
    color: #ccc;
    line-height: 1.7;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact .icon {
    color: #ffc107;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    color: #1a3c6e;
    background-color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: #ffc107;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #2a4c7e;
    margin-top: 40px;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}
}
