/* ============================================
   Magnificent Travels & Tours Singapore
   Main Stylesheet
   ============================================ */

/* ============================================
   CSS Variables - Brand Colors from Logo
   ============================================ */
:root {
    --primary-yellow: #FFC107;
    --primary-green: #4CAF50;
    --navy-blue: #1A237E;
    --dark-blue: #0D1A4A;
    --light-yellow: #FFD54F;
    --light-green: #66BB6A;
    --white: #FFFFFF;
    --light-bg: #F5F5F5;
    --gray-text: #666666;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--navy-blue);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-text);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    padding: 0.5rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.85rem;
}

.header-contact-item i {
    font-size: 1rem;
}

.header-main {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-green));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(76, 175, 80, 0.8) 100%),
                url('https://images.unsplash.com/photo-1525625293386-3f8f99389edd?w=1920') center/cover no-repeat;
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-yellow);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-yellow);
    margin-top: 2rem;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy-blue);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-us {
    background-color: var(--light-bg);
}

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 4rem;
    color: var(--white);
}

.service-content {
    padding: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--navy-blue);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-text);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ============================================
   Singapore Attractions Section
   ============================================ */
.attractions-section {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    padding: 3rem 0;
    margin-top: 4rem;
    border-radius: 15px;
}

.attractions-header {
    text-align: center;
    margin-bottom: 2rem;
}

.attractions-header h3 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.license-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.5rem;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 20px;
}

.attraction-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.attraction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.attraction-item i {
    font-size: 2.5rem;
/*     color: var(--primary-green); */
    margin-bottom: 1rem;
}

.attraction-item h4 {
    font-size: 1.1rem;
    color: var(--navy-blue);
}

.why-book-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-book-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
}

.why-book-item i {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.vm-card {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vm-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vm-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vm-card p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.8;
}

.licensing-info {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.licensing-info h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
}

.licensing-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.licensing-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.licensing-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.licensing-item strong {
    color: var(--navy-blue);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-container {
    display: grid;
/*     grid-template-columns: 1fr 1fr; */
    gap: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-top: 0.25rem;
}

.contact-item-content h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item-content p {
    color: var(--white);
    margin: 0;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--navy-blue);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.form-success.show {
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section li {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.footer-section a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--white);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        box-shadow: -5px 0 15px var(--shadow);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header-contact {
        justify-content: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 3rem 0;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-title {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.text-primary {
    color: var(--primary-green);
}

.text-yellow {
    color: var(--primary-yellow);
}

.bg-light {
    background-color: var(--light-bg);
}

/* Popular Attractions - Add Background Images */
.attraction-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
}

.attraction-item h4 {
	color: white;
}

/* Dark overlay for better text readability */
.attraction-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
/*     background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)); */
    z-index: 1;
}

/* Ensure text is above the overlay */
.attraction-item * {
    position: relative;
    z-index: 2;
    color: #ffffff;
/*     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}

/* Individual attraction backgrounds */
.attraction-item.uss {
    /* Universal Studios Singapore */
    background-image: url('https://images.unsplash.com/photo-1696851158152-139dfc3801d3?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.si {
    /* Sentosa Island */
    background-image: url('https://images.unsplash.com/photo-1662385834577-0c6628d57eab?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.sf {
    /* Singapore Flyer */
    background-image: url('https://images.unsplash.com/photo-1559633462-d82e21578552?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.sz {
    /* Singapore Zoo */
    background-image: url('https://images.unsplash.com/photo-1579235477863-03d45acd30d3?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.ns {
    /* Night Safari */
    background-image: url('https://images.unsplash.com/photo-1535679706075-20c8cf734c95?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.rw {
    /* River Wonders */
    background-image: url('https://images.unsplash.com/photo-1554068463-bf60b6ca8d97?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.bp {
    /* Bird Paradise */
    background-image: url('https://images.unsplash.com/photo-1718744231710-04aed11da6bb?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.rc {
    /* River Cruise */
    background-image: url('https://images.unsplash.com/photo-1673082401327-1ce8452496a3?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.dt {
    /* Duck Tour */
    background-image: url('/images/duck_tour.png');
    background-size: 320px;
/*     background-image: url('https://images.unsplash.com/photo-1589903769152-90c92aeddb98?q=80&w=270&h=162&auto=format&fit=crop'); */
}

.attraction-item.ct {
    /* Hop-On Hop-Off City Tour */
    background-image: url('https://images.unsplash.com/photo-1646625573908-82208b03cfa4?q=80&w=380&h=162&auto=format&fit=crop');
}

.attraction-item.cr {
    /* Car Rental Service */
    background-image: url('/images/car_rental.png');
}

.attraction-item.cs {
    /* Coach Service */
    background-image: url('/images/coach.png');
}

.attraction-item.lg {
    /* Licensed Guide */
    background-image: url('/images/licensed_guide.jpg');
}
/* Hover effect for attractions */
/* .attraction-item:hover { */
/*     transform: translateY(-5px); */
/*     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
/* } */

/* .attraction-item:hover::before { */
/*     background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); */
/* } */

/* Hover effect for attractions */
.attraction-item {
    transform: translateY(-0px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.attraction-item::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    border-radius:8px;
}
