/* Main CSS Styles for Plan Qatar */

/* Base Styles */
:root {
    --maroon: #6B0F1A;
    --sand: #D4B483;
    --teal: #1A7B88;
    --off-white: #F7F3E8;
    --deep-blue: #003D5B;
    --terracotta: #C17767;
    --dark-gray: #333333;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--teal);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--maroon);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--maroon);
    color: white;
}

.btn-primary:hover {
    background-color: #5a0c16;
    color: white;
}

.btn-secondary {
    background-color: var(--teal);
    color: white;
}

.btn-secondary:hover {
    background-color: #156570;
    color: white;
}

.btn-tertiary {
    background-color: var(--sand);
    color: var(--dark-gray);
}

.btn-tertiary:hover {
    background-color: #c9a66e;
}

.center-button {
    text-align: center;
    margin-top: 2rem;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin-left: 1.5rem;
}

.desktop-nav a {
    color: var(--dark-gray);
    font-weight: 500;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--maroon);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.mobile-nav {
    display: none;
    background-color: white;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    padding: 0.5rem 0;
}

.mobile-nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--maroon);
}

/* Hero Section */
.hero {
    background-image: url('../assets/hero-image.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

/* Featured Attractions */
.featured-attractions {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.attraction-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.attraction-image {
    height: 200px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.attraction-content {
    padding: 1.5rem;
}

.attraction-content h3 {
    color: var(--maroon);
    margin-bottom: 0.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-weight: 500;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Experience Categories */
.experience-categories {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
}

.category-content h3 {
    margin-bottom: 0.5rem;
}

.category-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Planning Tools */
.planning-tools {
    padding: 4rem 0;
    background-color: var(--deep-blue);
    color: white;
}

.planning-tools .section-title,
.planning-tools .section-description {
    color: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.tool-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tool-icon {
    color: var(--sand);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    margin-bottom: 0.5rem;
}

.tool-card p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.tool-card .read-more {
    color: var(--sand);
}

.tool-card .read-more:hover {
    color: #c9a66e;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.author .name {
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 0.2rem;
}

.author .location {
    font-size: 0.9rem;
    color: #777;
}

/* Newsletter */
.newsletter {
    padding: 4rem 0;
    background-color: var(--teal);
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin: 2rem 0 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

.privacy-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--deep-blue);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: 4px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--sand);
}

.footer-form {
    display: flex;
    margin-top: 1rem;
}

.footer-form input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.footer-form button {
    background-color: var(--teal);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-form button:hover {
    background-color: #156570;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .attractions-grid,
    .tools-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        height: 300px;
    }
}
