:root {
    --lp-maroon: #800000;
    --lp-gold: #D4AF37;
    --lp-cream: #FFFDF5;
    --lp-text: #2C1810;
    --lp-white: #ffffff;
    --lp-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--lp-cream);
    background-image: url('landing/lp-silk-texture.png');
    background-attachment: fixed;
    color: var(--lp-text);
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

h1,
h2,
h3,
.lp-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Header & Split-Menu Nav */
.lp-header {
    background: var(--lp-maroon);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

.lp-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('landing/lp-rangoli-white.png');
    background-size: 200px;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.lp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.lp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.lp-nav-links-left,
.lp-nav-links-right {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: center;
    color: var(--lp-white);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.lp-nav-links-left {
    justify-content: flex-end;
    padding-right: 40px;
}

.lp-nav-links-right {
    justify-content: flex-start;
    padding-left: 40px;
}

.lp-nav-link {
    color: var(--lp-white);
    text-decoration: none;
    transition: var(--lp-transition);
}

.lp-nav-link:hover {
    color: var(--lp-gold);
    letter-spacing: 0.15em;
}

/* Dropdown Styles */
.lp-dropdown {
    position: relative;
    display: inline-block;
}

.lp-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--lp-maroon);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    top: 100%;
    left: 0;
    padding-top: 10px;
    border-top: 2px solid var(--lp-gold);
}

.lp-dropdown-content a {
    color: var(--lp-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.lp-dropdown-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--lp-gold);
}

.lp-dropdown:hover .lp-dropdown-content,
.lp-dropdown.lp-active .lp-dropdown-content {
    display: block;
}

.lp-dropdown-trigger::after {
    content: '▾';
    margin-left: 5px;
    font-size: 0.7rem;
}

.lp-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--lp-gold);
    text-align: center;
    line-height: 1;
    padding: 10px 20px;
    border: 2px solid var(--lp-gold);
    background: transparent;
}

.lp-whatsapp-btn {
    background-color: #25D366;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--lp-transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.lp-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Nav Toggle */
.lp-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--lp-white);
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    left: 20px;
}

.lp-menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--lp-white);
    position: relative;
    transition: var(--lp-transition);
}

.lp-menu-icon::before,
.lp-menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--lp-white);
    left: 0;
    transition: var(--lp-transition);
}

.lp-menu-icon::before {
    top: -8px;
}

.lp-menu-icon::after {
    top: 8px;
}

.lp-menu-toggle.lp-active .lp-menu-icon {
    background: transparent;
}

.lp-menu-toggle.lp-active .lp-menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.lp-menu-toggle.lp-active .lp-menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.lp-mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: var(--lp-maroon);
    z-index: 10001;
    padding: 80px 40px;
    transition: var(--lp-transition);
    overflow-y: auto;
}

.lp-mobile-nav.lp-active {
    left: 0;
}

.lp-mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--lp-transition);
}

.lp-mobile-overlay.lp-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {

    .lp-nav-links-left,
    .lp-nav-links-right {
        display: none;
    }

    .lp-menu-toggle {
        display: block;
    }

    .lp-nav {
        justify-content: center;
    }
}

header {
    background-color: var(--lp-maroon);
    color: var(--lp-white);
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('landing/lp-rangoli-white.png');
    background-size: 200px;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

header p {
    margin-top: 0.5rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
    color: var(--lp-gold);
}

main {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--lp-gold);
}

h2 {
    color: var(--lp-maroon);
    border-bottom: 1px solid var(--lp-gold);
    padding-bottom: 0.8rem;
    margin-top: 0;
    font-size: 2rem;
}

form {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--lp-maroon);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

input,
select,
textarea {
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2px;
    font-size: 1rem;
    transition: var(--lp-transition);
    background: var(--lp-white);
}

input:focus,
select:focus {
    border-color: var(--lp-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.origin-selector,
.date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.temple-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--lp-gold);
    background: transparent;
    color: var(--lp-maroon);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--lp-transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--lp-gold);
    color: var(--lp-maroon);
}

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

.temple-item {
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 4px;
    background: var(--lp-white);
    transition: var(--lp-transition);
    cursor: pointer;
    position: relative;
}

.temple-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--lp-gold);
}

.temple-item h3 {
    margin: 0 0 0.5rem 0;
    color: var(--lp-maroon);
    font-size: 1.15rem;
    padding-right: 2.5rem;
    /* Space for the checkbox */
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}

.know-more-btn {
    display: block;
    width: fit-content;
    margin: 1.2rem auto 0;
    background-color: var(--lp-gold);
    color: var(--lp-maroon);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--lp-transition);
    border: 1px solid var(--lp-gold);
    text-align: center;
}

.know-more-btn:hover {
    background-color: var(--lp-maroon);
    color: var(--lp-gold);
    border-color: var(--lp-maroon);
}

.temple-item p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
    color: var(--lp-text);
}

.temple-item input[type="checkbox"] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 20px;
    height: 20px;
    accent-color: var(--lp-maroon);
}

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

.accommodation-card {
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 4px;
    background: var(--lp-white);
    position: relative;
    cursor: pointer;
    transition: var(--lp-transition);
}

.accommodation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--lp-gold);
}

.accommodation-card.selected {
    border: 2px solid var(--lp-gold);
    background: rgba(212, 175, 55, 0.05);
}

.accommodation-card h4 {
    margin: 0 0 0.8rem 0;
    color: var(--lp-maroon);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-affordable {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-premium {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-luxury {
    background: #fff8e1;
    color: #f9a825;
}

.btn-submit {
    background-color: var(--lp-gold);
    color: var(--lp-maroon);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--lp-transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    background-color: var(--lp-maroon);
    color: var(--lp-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.3);
}

.itinerary-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-secondary {
    background: var(--lp-white);
    color: var(--lp-maroon);
    border: 2px solid var(--lp-gold);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--lp-transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-secondary:hover {
    background: var(--lp-gold);
    color: var(--lp-maroon);
}

footer {
    background: var(--lp-maroon);
    color: var(--lp-white);
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: url('landing/lp-rangoli-white.png');
    background-size: 400px;
    opacity: 0.05;
    pointer-events: none;
}

/* Enhanced Itinerary UI */
.trip-summary-card {
    background: var(--lp-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: relative;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.summary-header h2 {
    margin: 0;
    font-size: 1.6rem;
    border: none;
    padding: 0;
}

.summary-badge {
    background: var(--lp-maroon);
    color: var(--lp-gold);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
}

.summary-item label {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 0.2rem;
}

.summary-item span {
    font-weight: 700;
    color: var(--lp-text);
}

.distance-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--lp-gold);
}

.distance-icon {
    font-size: 2.5rem;
}

.planned-temples {
    background: #fdfaf5;
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.planned-temples {
    background: #fdfaf5;
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.itinerary-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.itinerary-table th {
    background: var(--lp-maroon);
    color: var(--lp-gold);
    text-align: left;
    padding: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.itinerary-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--lp-text);
    font-size: 0.9rem;
}

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

.itinerary-table tr:nth-child(even) {
    background: #fffbf0;
}

.itinerary-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.temple-link {
    color: var(--lp-maroon);
    text-decoration: none;
    transition: var(--lp-transition);
    display: inline-block;
}

.temple-link:hover {
    color: var(--lp-gold);
    transform: translateX(3px);
}

.temple-link strong {
    border-bottom: 1px dotted rgba(128, 0, 0, 0.3);
}

.temple-link:hover strong {
    border-bottom-color: var(--lp-gold);
}

/* Share Modal Styling */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--lp-transition);
}

.share-modal-overlay.lp-active {
    opacity: 1;
    visibility: visible;
}

.share-modal {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--lp-gold);
}

.share-modal-header {
    background: var(--lp-maroon);
    color: var(--lp-gold);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.close-modal {
    background: none;
    border: none;
    color: var(--lp-gold);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.share-modal-body {
    padding: 2rem;
}

.share-modal-body p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.share-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: none;
}

.share-status.lp-visible {
    display: block;
}

.share-status.info {
    display: block;
    background: #f0f7ff;
    color: #0056b3;
    border: 1px solid #cce5ff;
}

.share-status.success {
    display: block;
    background: #f6fff9;
    color: #1e7e34;
    border: 1px solid #d4edda;
}

.share-status.error {
    display: block;
    background: #fff5f5;
    color: #c82333;
    border: 1px solid #f8d7da;
}

/* Result Page Styling */
.itinerary-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    line-height: 2;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.itinerary-content h3 {
    color: var(--lp-maroon);
    border-bottom: 2px solid var(--lp-gold);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    font-size: 1.8rem;
}

.itinerary-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.itinerary-content li {
    padding: 1.2rem 1.5rem;
    border-left: 4px solid var(--lp-gold);
    background: rgba(212, 175, 55, 0.05);
    margin-bottom: 0.8rem;
    border-radius: 0 4px 4px 0;
}

/* Enhanced Card View for Itinerary */
.itinerary-day {
    background: white;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.itinerary-step {
    border-left: 3px solid var(--lp-maroon);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.itinerary-step::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    background: var(--lp-gold);
    border-radius: 50%;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 24, 16, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--lp-cream);
    background-image: url('landing/lp-silk-texture.png');
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--lp-gold);
    width: 90%;
    max-width: 800px;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: var(--lp-maroon);
    color: var(--lp-white);
    padding: 2rem;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--lp-gold);
}

.modal-header h2 {
    color: var(--lp-gold);
    border: none;
    margin: 0;
    padding: 0;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: var(--lp-white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    color: var(--lp-text);
}

.modal-body h4 {
    color: var(--lp-maroon);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.modal-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: right;
    background: rgba(255, 255, 255, 0.5);
}

.btn-readmore {
    display: inline-block;
    background: var(--lp-maroon);
    color: var(--lp-gold);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 2px;
    border: 1px solid var(--lp-gold);
    transition: var(--lp-transition);
}

.btn-readmore:hover {
    background: var(--lp-gold);
    color: var(--lp-maroon);
}
/* Share Modal Form Elements */
.share-modal-body .form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.share-modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-maroon);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-modal-body input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fafafa;
}

.share-modal-body input:focus {
    outline: none;
    border-color: var(--lp-maroon);
    background: white;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.05);
}

.itinerary-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 1rem;
    background: transparent;
}

.itinerary-actions-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.itinerary-actions .btn-submit, 
.itinerary-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 160px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Specific style for the partner button to keep it gold */
.btn-partner {
    background: var(--lp-gold) !important;
    color: var(--lp-maroon) !important;
    border-color: var(--lp-gold) !important;
}

.btn-partner:hover {
    background: #e6c200 !important;
    transform: translateY(-2px);
}

@media print {
    .itinerary-actions, .share-modal-overlay, footer, .lp-header {
        display: none !important;
    }
    body {
        background: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    main {
        margin: 0 !important;
        max-width: 100% !important;
    }

    .itinerary-content::before {
        content: "VL Iyer Itinerary Planner";
        display: block;
        font-size: 2rem;
        color: #800000;
        font-weight: bold;
        text-align: center;
        margin-bottom: 2rem;
        border-bottom: 2px solid #800000;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    color: var(--lp-white);
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-top: 4px solid var(--lp-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--lp-gold);
}

.loading-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {

    .origin-selector,
    .date-group {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2rem;
    }

    .itinerary-content {
        padding: 1.5rem;
    }
}

/* Redesigned Timeline Itinerary */
.itinerary-timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-day-group {
    margin-bottom: 4rem;
}

.timeline-day-header {
    background: var(--lp-maroon);
    color: var(--lp-gold);
    padding: 1rem 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 0px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 175, 55, 0.3);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--lp-white);
    border: 3px solid var(--lp-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--lp-maroon);
    font-weight: 700;
}

.timeline-card {
    background: var(--lp-white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 2rem;
    transition: var(--lp-transition);
}

.timeline-card:hover {
    transform: translateX(10px);
    border-color: var(--lp-gold);
}

.timeline-time {
    font-weight: 700;
    color: var(--lp-maroon);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--lp-maroon);
    margin: 0 0 0.5rem 0;
}

.timeline-details {
    font-size: 0.85rem;
    color: #666;
}

.timeline-connector {
    position: absolute;
    left: 20px;
    top: -20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 3;
}

.distance-badge {
    background: var(--lp-cream);
    border: 1px solid var(--lp-gold);
    color: var(--lp-maroon);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.skipped-temples-section {
    background: #fff5f5;
    border: 1px dashed #feb2b2;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 4rem;
}

.skipped-temples-section h3 {
    color: #c53030;
    margin-top: 0;
}

.skipped-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.skipped-card {
    background: white;
    padding: 1.2rem;
    border-radius: 4px;
    border-left: 4px solid #fc8181;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.total-summary-card {
    background: linear-gradient(135deg, var(--lp-maroon), #a00000);
    color: var(--lp-white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.total-summary-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('landing/lp-rangoli-white.png');
    background-size: 150px;
    opacity: 0.05;
    pointer-events: none;
}

.total-summary-card h2 {
    color: var(--lp-gold) !important;
    border: none !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

.total-dist-val {
    font-size: 3rem;
    font-weight: 900;
    color: var(--lp-white);
    display: block;
    font-family: 'Playfair Display', serif;
}