/* ============================================
   WhoopGo - Mobile-First Modern eSIM Site
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary-orange: #f36421;
    --secondary-blue: #0b76bb;
    --primary-dark: #2C3E50;
    --light-gray: #F8F9FA;
    --border-radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* === GLOBAL STYLES === */
* {
margin: 0;
    padding: 0;
  box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.brand-whoop {
    color: var(--primary-orange);
}

.brand-go {
    color: var(--primary-dark);
}

.nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-orange) 100%);
    padding: 3rem 0 2.5rem;
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    margin: 0 auto;
}

.search-input {
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
 font-size: 1.25rem;
    pointer-events: none;
}

/* === FILTER SECTION === */
.filter-section {
    padding: 2rem 0;
}

.esim-toggle {
    box-shadow: var(--shadow-sm);
    border-radius: 50px;
    overflow: hidden;
    display: inline-flex;
}

.btn-toggle {
  padding: 0.75rem 2rem;
    border: none;
    background: white;
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
    border-radius: 0;
}

.btn-toggle:first-child {
    border-radius: 50px 0 0 50px;
}

.btn-toggle:last-child {
    border-radius: 0 50px 50px 0;
}

.btn-toggle.active {
    background: var(--primary-orange);
    color: white;
}

.btn-toggle:hover:not(.active) {
    background: var(--light-gray);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* === DESTINATIONS SECTION === */
.destinations-section {
    min-height: 400px;
}

/* === DESTINATION CARDS === */
.destination-card {
    position: relative;
 height: 280px;
    border-radius: var(--border-radius);
  overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    color: white;
}

.country-name {
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.card-footer-content {
 display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-badge {
    background: var(--primary-orange);
    padding: 0.5rem 1.25rem;
  border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

/* === CARD ACTIONS (Add to Cart + Info Button) === */
.card-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-button {
    width: 44px;
    height: 44px;
  background: white;
    border: none;
    border-radius: 50%;
    display: flex;
align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.action-button:hover {
    transform: scale(1.1);
}

.add-to-cart-btn {
    background: var(--primary-orange);
    color: white;
}

.add-to-cart-btn:hover {
    background: #d45319;
}

.info-button {
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.25rem;
 cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.info-button:hover {
 background: var(--primary-dark);
    color: white;
    transform: scale(1.1);
}

/* === MODAL === */
.modal-country-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

/* === DATA PLAN SELECTION === */
.data-plans-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-option {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
  align-items: center;
}

.plan-option:hover {
    border-color: var(--primary-orange);
    background-color: #fff8f5;
}

.plan-option.selected {
    border-color: var(--primary-orange);
    background-color: #fff8f5;
    box-shadow: 0 0 0 3px rgba(243, 100, 33, 0.1);
}

.plan-option input[type="radio"] {
    position: absolute;
 opacity: 0;
    cursor: pointer;
}

.plan-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.plan-option.selected .plan-radio-circle {
    border-color: var(--primary-orange);
    background-color: var(--primary-orange);
}

.plan-option.selected .plan-radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.plan-size {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-dark);
}

.plan-popular-badge {
    background-color: var(--primary-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
  text-transform: uppercase;
    margin-left: 0.5rem;
}

.plan-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-orange);
}

/* === BUTTONS === */
.btn-primary {
    background: var(--primary-orange);
    border: none;
  padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #d45319;
    transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === FOOTER === */
.footer {
    margin-top: auto;
 border-top: 1px solid #e0e0e0;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-heading {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
 margin: 0;
  padding: 0;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: var(--transition);
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.payment-icon {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.payment-icon:hover {
    opacity: 1;
}

/* ============================================
   SHOPPING CART STYLES
   ============================================ */

/* === CART BADGE === */
#cartBadge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    min-width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === CART PAGE === */
.cart-section {
    min-height: 60vh;
}

/* === CART ITEM CARDS === */
.cart-item-card {
  border-radius: var(--border-radius);
    border: none;
box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cart-item-card:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-card h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.cart-item-card .text-muted {
    font-size: 0.875rem;
}

/* === QUANTITY CONTROLS === */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-controls .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
  border: none;
    font-size: 1.25rem;
}

.quantity-controls .btn:hover {
    background-color: var(--light-gray);
}

.quantity-controls .btn i {
    font-size: 1.25rem;
}

.quantity-display {
    font-weight: 700;
    font-size: 1.125rem;
    min-width: 30px;
    text-align: center;
}

/* === ITEM PRICE === */
.item-price {
    color: var(--primary-orange);
    font-size: 1.25rem;
}

/* === CART SUMMARY === */
.cart-summary-card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-md);
    top: 100px;
}

.cart-summary-card .card-title {
    font-weight: 700;
    color: var(--primary-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.summary-row.total-row {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0;
}

/* === EMPTY CART STATE === */
#emptyCart .display-1 {
    font-size: 5rem;
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    z-index: 9999 !important;
}

.toast {
    min-width: 250px;
}
