/* 
  Dubai Trip Planner - Premium Luxury Design
  Inspired by DubaiGoLuxury.com
  Color Scheme: Charcoal #0f1419 | Rose Gold #c9927f | Cream #f5f1ed | Sapphire #1a3a4a
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f1419;
    --secondary-dark: #1a2633;
    --accent-rose: #A89A66;
    --accent-gold: #A89A66;
    --sapphire: #1a3a4a;
    --cream: #f5f1e8;
    --white: #ffffff;
    --light-gray: #e0dcd7;
    --medium-gray: #8b8680;
    --border-color: #A89A66;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--primary-dark);
    color: #e8e4df;
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.3px;
}

/* ==================== NAVIGATION ==================== */

.navbar {
    display: none;
}

/* ==================== HERO SECTION ==================== */

.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1a2633 50%, #1a3a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230f1419" width="1200" height="600"/><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600" fill="%231a3a4a" opacity="0.2"/></svg>');
    background-size: cover;
    animation: float 20s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(168, 153, 104, 0.08) 0%, rgba(15, 20, 25, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    animation: slideDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-rose);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: slideUp 1s ease-out 0.2s both;
}

.cta-button {
    padding: 1.1rem 3.5rem;
    font-size: 1rem;
    background: var(--accent-rose);
    color: var(--primary-dark);
    border: 2px solid var(--accent-rose);
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    animation: slideUp 1s ease-out 0.4s both;
    box-shadow: 0 12px 35px rgba(168, 153, 104, 0.25);
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(168, 153, 104, 0.35);
    border-color: var(--white);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== MAIN CONTENT ==================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(168, 153, 104, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: var(--accent-rose);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ==================== INTERESTS GRID ==================== */

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.interest-card {
    position: relative;
    padding: 2.2rem;
    background: linear-gradient(135deg, #1a2633 0%, #1a2633 100%);
    border: 2px solid rgba(168, 153, 104, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.interest-card:hover {
    border-color: var(--accent-rose);
    background: linear-gradient(135deg, #1a2633 0%, rgba(168, 153, 104, 0.08) 100%);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(168, 153, 104, 0.2);
}

.interest-card input[type="checkbox"] {
    display: none;
}

.interest-card input[type="checkbox"]:checked + .interest-emoji {
    color: var(--accent-rose);
    text-shadow: 0 0 25px rgba(168, 153, 104, 0.8);
    transform: scale(1.4);
}

.interest-card input[type="checkbox"]:checked ~ .interest-text {
    color: var(--accent-rose);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.interest-card input[type="checkbox"]:checked {
    background: rgba(201, 146, 127, 0.2) !important;
    border-color: var(--accent-rose) !important;
}

.interest-card.selected {
    background: linear-gradient(135deg, rgba(168, 153, 104, 0.15) 0%, rgba(168, 153, 104, 0.08) 100%) !important;
    border-color: var(--accent-rose) !important;
    box-shadow: 0 0 30px rgba(168, 153, 104, 0.6), inset 0 0 15px rgba(168, 153, 104, 0.1) !important;
    transform: translateY(-8px) !important;
}

.interest-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.interest-text {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ==================== FORM STYLES ==================== */

.planning-form,
.concierge-form {
    max-width: 550px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a2633 0%, #1a2633 100%);
    padding: 2.5rem;
    border: 2px solid var(--accent-rose);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(168, 153, 104, 0.15);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--accent-rose);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 20, 25, 0.7);
    border: 2px solid rgba(168, 153, 104, 0.3);
    color: var(--cream);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    color-scheme: dark;
}

/* Date/Time picker styling */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    background-color: rgba(50, 60, 80, 0.8) !important;
    color: var(--cream) !important;
    caret-color: var(--accent-rose) !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.65) sepia(0.5) hue-rotate(15deg) saturate(0.8) brightness(1.0);
    cursor: pointer;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-rose);
    box-shadow: 0 0 15px rgba(168, 153, 104, 0.25);
    background: rgba(15, 20, 25, 0.9);
}

/* Duration Options */
.duration-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.duration-option {
    flex: 1;
}

.duration-option input[type="radio"] {
    display: none;
}

.duration-option input[type="radio"] + span {
    display: block;
    padding: 1rem;
    text-align: center;
    background: rgba(15, 20, 25, 0.7);
    border: 2px solid rgba(168, 153, 104, 0.3);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--cream);
}

.duration-option input[type="radio"]:checked + span {
    background: var(--accent-rose);
    color: var(--primary-dark);
    border-color: var(--accent-rose);
    box-shadow: 0 4px 15px rgba(168, 153, 104, 0.3);
}

/* Buttons */
.generate-btn,
.book-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--accent-rose);
    color: var(--primary-dark);
    border: 2px solid var(--accent-rose);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.generate-btn:hover,
.book-btn:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(168, 153, 104, 0.35);
    border-color: var(--white);
}

.generate-btn:active,
.book-btn:active {
    transform: translateY(-1px);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    color: var(--light-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-rose);
}

/* ==================== LOADING STATE ==================== */

.loading-state {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(168, 153, 104, 0.2);
    border-top: 4px solid var(--accent-rose);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--accent-rose);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* ==================== ITINERARY DISPLAY ==================== */

.itinerary-container {
    display: grid;
    gap: 2rem;
}

.day-card {
    background: linear-gradient(135deg, #1a2633 0%, rgba(168, 153, 104, 0.05) 100%);
    border-left: 5px solid var(--accent-rose);
    padding: 2.2rem;
    border-radius: 12px;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 4px 20px rgba(168, 153, 104, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.day-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid rgba(168, 153, 104, 0.2);
}

.day-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--accent-rose);
    margin-right: 1.2rem;
    min-width: 70px;
    font-weight: 700;
}

.day-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--white);
}

.activity-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
    padding: 1.8rem;
    background: rgba(15, 20, 25, 0.8);
    border-radius: 8px;
    transition: all 0.35s ease;
    border-left: 4px solid transparent;
}

.activity-item:hover {
    border-left-color: var(--accent-rose);
    transform: translateX(6px);
    background: rgba(15, 20, 25, 0.95);
    box-shadow: 0 4px 15px rgba(168, 153, 104, 0.1);
}

.activity-emoji {
    font-size: 2.2rem;
    min-width: 55px;
    text-align: center;
}

.activity-details {
    flex: 1;
}

.activity-time {
    color: var(--accent-rose);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.activity-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.activity-location {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.activity-duration {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.activity-description {
    color: #d4ccc4;
    font-size: 0.95rem;
    margin-top: 0.6rem;
    font-style: italic;
}

/* ==================== SUCCESS CARD ==================== */

.success-card {
    max-width: 550px;
    margin: 3rem auto;
    background: linear-gradient(135deg, #1a2633 0%, rgba(168, 153, 104, 0.05) 100%);
    border: 2px solid var(--accent-rose);
    border-radius: 12px;
    padding: 3.5rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(168, 153, 104, 0.2);
}

.success-icon {
    font-size: 4.5rem;
    color: var(--accent-rose);
    margin-bottom: 1.5rem;
}

.success-card h2 {
    color: var(--accent-rose);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.success-card p {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.success-details {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-rose);
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-rose);
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section li {
    color: var(--light-gray);
    margin-bottom: 0.6rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--accent-rose);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(168, 153, 104, 0.2);
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent-rose);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .interest-card {
        padding: 1.5rem;
    }

    .interest-emoji {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .day-card {
        padding: 1.5rem;
    }

    .activity-item {
        gap: 1rem;
        padding: 1rem;
    }

    .activity-emoji {
        font-size: 1.5rem;
    }

    .planning-form,
    .concierge-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .duration-options {
        flex-direction: column;
    }

    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .interest-emoji {
        font-size: 1.5rem;
    }

    .interest-text {
        font-size: 0.8rem;
    }

    .day-card {
        padding: 1rem;
    }

    .day-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .day-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
