/* ===================================
   Journey India - Custom Styles
   Optimized for Performance & SEO
   =================================== */

/* CSS Variables for Brand Colors */
:root {
    --accent-color-1: #D36322;
    --accent-color-2: #F1C40F;
    --link-color: #3498DB;
    --link-hover: #2980B9;
    --button-bg: #D36322;
    --button-text: #FFFFFF;
    --menu-bg: #2C3E50;
    --menu-text: #FFFFFF;
    --footer-bg: #2C3E50;
    --footer-text: #FFFFFF;
    --accordion-bg: #F1C40F;
    --accordion-text: #2C3E50;
    --icon-color: #D36322;
    --card-header-bg: #F1C40F;
    --border-color: #D36322;
    --text-primary: #D36322;
    --text-dark: #2C3E50;
    --bg-light: #F8F9FA;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

/* Utility Classes */
.text-primary {
    color: var(--text-primary) !important;
}

.bg-accent-1 {
    background-color: var(--accent-color-1);
}

.bg-accent-2 {
    background-color: var(--accent-color-2);
}

/* Top Header */
.top-header {
    background-color: #fff;
    border-bottom: 2px solid var(--accent-color-1);
}

.logo {
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
}

.logo-link {
    display: inline-block;
}

.contact-info {
    font-size: 1rem;
    font-weight: 500;
}

.contact-email {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-email:hover {
    color: var(--accent-color-1);
}

/* Navigation Menu */
.top-menu {
    background-color: var(--menu-bg) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.navbar-nav {
    width: 100%;
    justify-content: center;
}

.nav-link {
    color: var(--menu-text) !important;
    font-weight: 500;
    padding: 1rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--accent-color-1);
    color: var(--menu-text) !important;
}

.nav-link i {
    color: var(--icon-color);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--menu-text);
}

/* Sticky Navigation */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 550px;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn-primary {
    background-color: var(--button-bg);
    border-color: var(--button-bg);
    color: var(--button-text);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 99, 34, 0.3);
}

.btn-primary:hover {
    background-color: #b85419;
    border-color: #b85419;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 99, 34, 0.4);
}

.btn-primary i,
.btn-primary:hover i {
    color: #fff !important;
}

.btn-outline-primary {
    border-color: var(--border-color);
    color: var(--border-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary i {
    color: var(--border-color) !important;
}

.btn-outline-primary:hover i {
    color: #fff !important;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-2));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1.5rem;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content {
    padding: 2rem;
}

/* Offer Section */
.offer-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.offer-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-header {
    background-color: var(--card-header-bg) !important;
    color: var(--accordion-text);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
    border: none;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-color-1);
    margin: 1rem 0;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: #fff;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.benefit-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: #fff;
    font-weight: 700;
}

.benefit-item p {
    color: rgba(255,255,255,0.9);
}

/* Parallax Section */
.parallax-section {
    background-image: url('../img/hero.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8rem 0;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.parallax-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
}

.parallax-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Accordion */
.accordion-button {
    background-color: var(--accordion-bg);
    color: var(--accordion-text);
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color-1);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-color-1);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--link-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 3rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color-2);
    margin-bottom: 1.5rem;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--footer-text);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-color-2);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 0.2rem rgba(211, 99, 34, 0.25);
}

/* Icons */
.fa, .fas, .far, .fab {
    color: var(--icon-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 1rem;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .top-menu,
    .footer,
    .btn {
        display: none;
    }
}