:root {
    --primary: #2563EB;
    --primary-light: #EFF6FF;
    --secondary: #10B981;
    --dark: #1E293B;
    --gray-light: #F8FAFC;
    --gray-border: #E2E8F0;
    --text-muted: #64748B;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', sans-serif;
}

body {
    background-color: var(--gray-light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Layout */
.layout-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
}

/* Common Styles */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    margin-bottom: 1.5rem;
}

.price-tag {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Fixed Costs / Sidebar */
.fixed-cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-border);
}
.fixed-cost-item:last-child {
    border-bottom: none;
}
.fixed-cost-item .desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Istanbul Hotels (Radio list) */
.hotel-option {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}
.hotel-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.hotel-option input[type="radio"], .hotel-option input[type="checkbox"] {
    display: none;
}
.hotel-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow-sm);
    border-width: 2px;
}
.hotel-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}
.hotel-info {
    flex: 1;
}
.hotel-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.hotel-info .rating {
    color: #F59E0B;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.hotel-info .price {
    font-weight: 700;
    color: var(--primary);
}
.hotel-info .link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.25rem;
}

/* Tabs */
.tabs-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-border);
    padding-bottom: 0.5rem;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.2s;
}
.tab-btn:hover {
    color: var(--dark);
}
.tab-btn.active {
    color: var(--primary);
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.65rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    animation: fadein 0.3s ease;
}
.tab-content.active {
    display: block;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input group */
.input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.input-row label {
    font-weight: 600;
}
.input-row input {
    width: 70px;
    padding: 0.5rem;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
}

/* Destination Cards */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.dest-card {
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}
.dest-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.dest-card.selected {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}
.dest-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.dest-card-content {
    padding: 1rem;
}
.dest-card-content h4 {
    margin-bottom: 0.5rem;
}

/* Summary Card */
.summary-box {
    background: var(--dark);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
}
.summary-box h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #CBD5E1;
}
.summary-line strong {
    color: white;
}
.summary-total {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Added for dest-card */
.dest-card-label {
    cursor: pointer;
    display: block;
}
.dest-card-label input:checked + .dest-card {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    transform: translateY(-2px);
}
