/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0284c7;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0f9ff;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, height 0.3s ease;
    max-width: 100%;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
    padding: 2rem 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 1.5rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Aquariums Section */
.aquariums {
    background: var(--white);
}

.aquariums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
}

.aquarium-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.aquarium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.aquarium-image {
    height: clamp(200px, 40vw, 300px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.aquarium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    transition: opacity 0.3s ease;
}

.aquarium-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow);
}

.aquarium-content {
    padding: 1.5rem;
}

.aquarium-content h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.aquarium-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.aquarium-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.aquarium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.aquarium-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.aquarium-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.btn-aquarium {
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-aquarium:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Comparison Section */
.comparison {
    background: var(--bg-light);
}

.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
    -webkit-overflow-scrolling: touch;
}

.comparison-table table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: var(--bg-light);
}

/* Tickets Section */
.tickets {
    background: var(--white);
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.ticket-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.ticket-header h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-dark);
}

.ticket-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticket-prices {
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e5e7eb;
    gap: 1rem;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: var(--text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.price-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    white-space: nowrap;
}

.ticket-info {
    margin-bottom: 1.5rem;
}

.ticket-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.faq-question {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

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

/* Review Page FAQ Styles */
.review-section .faq-item {
    margin-bottom: 1.5rem;
}

.review-section .faq-question {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    margin-bottom: 0.8rem;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    word-wrap: break-word;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
}

.footer p {
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Review Page Styles */
.review-hero {
    min-height: 60vh;
    height: auto;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem 1rem;
}

.review-content {
    background: var(--white);
    padding: 3rem 0;
}

.review-section {
    margin-bottom: 3rem;
}

.review-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.review-section h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
}

.review-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-section ul {
    list-style: none;
    padding-left: 0;
}

.review-section li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.review-section li::before {
    content: '🐠';
    position: absolute;
    left: 0;
}

.info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.info-box strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .aquariums-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
    }
}

/* Responsive Design - Small Tablet */
@media (max-width: 900px) {
    .logo {
        height: 65px;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}

/* Responsive Design - Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav-brand {
        width: 100%;
        justify-content: center;
    }
    
    .logo {
        height: 60px;
    }
    
    /* Horizontal scrollable menu on mobile */
    .nav-menu {
        width: 100%;
        gap: 0;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding: 0.5rem 0;
        border-top: 1px solid #e5e7eb;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        display: block;
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: var(--bg-light);
        color: var(--primary-color);
    }
    
    .nav-menu a::after {
        display: none;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .scroll-indicator {
        display: none;
    }

    .aquariums-grid,
    .tickets-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .aquarium-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-aquarium {
        width: 100%;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.9rem;
        margin: 1rem -15px 0;
        padding: 0 15px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    
    .ticket-card {
        padding: 1.5rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
        gap: 0.75rem;
    }
    
    .gallery img {
        height: 150px;
    }
}

/* Responsive Design - Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        height: 50px;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .aquarium-content {
        padding: 1.25rem;
    }
    
    .aquarium-image {
        height: 200px;
    }
    
    .aquarium-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .faq-grid {
        gap: 1rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .ticket-card {
        padding: 1.25rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .info-box {
        padding: 1.25rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .logo {
        height: 45px;
    }
    
    .nav-menu {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .aquarium-content,
    .ticket-card,
    .faq-item {
        padding: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .btn-aquarium,
    .nav-menu a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .aquarium-card:hover,
    .ticket-card:hover,
    .faq-item:hover {
        transform: none;
    }
    
    .aquarium-card:active,
    .ticket-card:active {
        transform: scale(0.98);
    }
}
