/* Dubai City Website - Color System & Styles */

:root {
    /* Primary Colors from Dubai City Design */
    --primary-dark-teal: #1a4d5c;
    --primary-warm-brown: #8b4513;
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --city-orange: #ff6b35;
    --sky-gradient-start: #1a4d5c;
    --sky-gradient-end: #8b4513;
    --building-brown: #6b4423;
    --light-gold: #f4d03f;
    --dark-blue: #0d2b3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--sky-gradient-start) 0%, var(--sky-gradient-end) 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
header {
    background: rgba(13, 43, 58, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: block;
}

.nav-links a:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    background: transparent;
    border: none;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(rgba(26, 77, 92, 0.7), rgba(139, 69, 19, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a4d5c" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards Grid */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attraction-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.attraction-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.attraction-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.attraction-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.attraction-card .location {
    color: var(--city-orange);
    font-weight: bold;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--dark-blue);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--accent-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Document Content Styles */
.document-content {
    max-width: 900px;
    margin: 0 auto;
}

.document-content section {
    margin-bottom: 2rem;
}

.document-content h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.document-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.document-content ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.document-content li {
    margin-bottom: 0.5rem;
}

.document-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Accordion Styles */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.accordion-header {
    background: rgba(212, 175, 55, 0.2);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(212, 175, 55, 0.3);
}

.accordion-header h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin: 0;
}

.accordion-icon {
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 1.5rem;
}

.accordion-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.accordion-content ul {
    margin-left: 2rem;
    margin-top: 1rem;
    line-height: 2;
}

/* Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.info-table thead {
    background: rgba(212, 175, 55, 0.3);
}

.info-table th {
    padding: 1.2rem;
    text-align: left;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.5);
}

.info-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.info-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

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

/* Article/Info Box Styles */
.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-left: 5px solid var(--accent-gold);
}

.info-box h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-box p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-gold);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 3px solid var(--dark-blue);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.timeline-year {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    /* Header & Navigation */
    nav {
        flex-direction: row;
        padding: 1rem;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    /* Mobile Menu Toggle */
    .menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation Links */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 43, 58, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
        width: 100%;
        display: block;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: rgba(212, 175, 55, 0.2);
        color: var(--accent-gold);
        padding-left: 2.5rem;
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Main Container */
    .container {
        padding: 2rem 1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    /* Document Content Headings */
    .document-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .document-content h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    /* Card Headings */
    .attraction-card h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .info-box h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .contact-item h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding-right: 2rem;
    }
    
    /* Footer Headings */
    .footer-section h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    /* Tables - Horizontal Scroll */
    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1.5rem 0;
        border-radius: 10px;
    }
    
    .table-wrapper .info-table {
        display: table;
        width: 100%;
        min-width: 600px;
        font-size: 0.85rem;
        margin: 0;
    }
    
    .table-wrapper .info-table th,
    .table-wrapper .info-table td {
        padding: 0.7rem 0.5rem;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .table-wrapper .info-table th {
        font-size: 0.9rem;
    }
    
    .table-wrapper .info-table td {
        font-size: 0.85rem;
    }
    
    /* Grids */
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Images */
    .attraction-image {
        height: 200px;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    /* Cards */
    .attraction-card {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Accordion */
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-content {
        padding: 1rem !important;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 2.5px;
    }
    
    .attraction-card h3 {
        font-size: 1.2rem;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
    
    .table-wrapper .info-table {
        min-width: 500px;
        font-size: 0.75rem;
    }
    
    .table-wrapper .info-table th,
    .table-wrapper .info-table td {
        padding: 0.5rem 0.4rem;
    }
    
    .container {
        padding: 1.5rem 0.8rem;
    }
    
    .hero {
        padding: 2rem 0.8rem;
    }
}

/* Additional Styling */
.highlight {
    color: var(--accent-gold);
    font-weight: bold;
}

.divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 3rem 0;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.contact-item h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.map-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--accent-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-blue);
    color: var(--text-white);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--dark-blue);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Image Styles */
.attraction-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-image {
    transform: scale(1.05);
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    margin: 2rem auto;
    display: block;
    border: 3px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .attraction-image {
        height: 200px;
    }
}

