/* CamBabes.co.uk - UK Babes Playful Stylesheet */
/* British-themed, playful, and modern design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* UK Flag Colors - Modern Palette */
  --uk-navy: #012169;
  --uk-navy-light: #1a3a8a;
  --uk-navy-dark: #000d3d;
  --uk-red: #C8102E;
  --uk-red-light: #E6213A;
  --uk-red-dark: #A00D24;
  --uk-white: #FFFFFF;
  --uk-silver: #E8EAED;
  --uk-charcoal: #2C3E50;
  
  /* Backgrounds */
  --bg-light: #FFF5F8;
  --bg-dark: #1a0a0f;
  --surface-light: #ffffff;
  --surface-dark: #2a1a25;
  
  /* Text */
  --text-light: #2c1a21;
  --text-dark: #f5e6ed;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(1, 33, 105, 0.1);
  --shadow-md: 0 4px 8px rgba(1, 33, 105, 0.15);
  --shadow-lg: 0 10px 25px rgba(1, 33, 105, 0.2);
  --shadow-glow: 0 0 20px rgba(200, 16, 46, 0.3);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-light: var(--bg-dark);
  --surface-light: var(--surface-dark);
  --text-light: var(--text-dark);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #F8F9FA;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
  background: #1a1a2e;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  background: var(--uk-navy);
  box-shadow: var(--shadow-md);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1.5rem;
  flex: 0 0 auto;
  gap: 1rem;
}

.navbar-brand a {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0.5rem 1rem;
}

.navbar-start {
  display: flex;
  flex: 1;
  gap: 0.25rem;
  align-items: center;
}

.navbar-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-item {
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.95rem;
}

.navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.navbar-link {
  color: white;
  cursor: pointer;
}

.navbar-dropdown {
  display: none;
  position: absolute;
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 200px;
  margin-top: 0.5rem;
  left: 0;
  z-index: 20;
}

.navbar-item.has-dropdown {
  position: relative;
}

.has-dropdown:hover .navbar-dropdown,
.has-dropdown.is-active .navbar-dropdown {
  display: block;
}

.navbar-dropdown .navbar-item {
  color: var(--text-light);
  padding: 0.75rem 1rem;
}

.navbar-dropdown .navbar-item:hover {
  background-color: rgba(200, 16, 46, 0.1);
  transform: none;
}

.navbar-divider {
  background-color: #e8e8e8;
  border: none;
  height: 1px;
  margin: 0.5rem 0;
}

.navbar-burger {
  display: none !important;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  background: none;
  border: none;
}

.navbar-burger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-primary {
  background: linear-gradient(135deg, var(--uk-red) 0%, var(--uk-red-light) 100%);
  color: white;
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--uk-red-dark) 0%, var(--uk-red) 100%);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.4);
}

.button.is-danger {
  background: var(--uk-red);
  color: white;
}

.button.is-danger:hover {
  background: #A00D24;
}

.button.is-fullwidth {
  width: 100%;
}

/* Cards */
.card {
  background: var(--surface-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1rem;
}

.card-footer {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.card-footer-item {
  flex: 1;
  padding: 0.75rem;
  text-align: center;
  transition: background-color 0.2s ease;
}

.card-footer-item:hover {
  background-color: rgba(200, 16, 46, 0.05);
}

/* Grid */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
}

.column {
  padding: 0.5rem;
  flex: 1 1 0;
}

.is-multiline {
  flex-wrap: wrap;
}

.is-mobile > .column {
  flex: none;
  width: 50%;
}

@media screen and (min-width: 769px) {
  .column.is-2 { width: 16.66667%; }
  .column.is-3 { width: 25%; }
  .column.is-4 { width: 33.33333%; }
  .column.is-6 { width: 50%; }
  .is-mobile > .column { width: 16.66667%; }
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  justify-content: center;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag:hover {
  transform: scale(1.1);
}

.tag.is-primary {
  background: linear-gradient(135deg, rgba(1, 33, 105, 0.15) 0%, rgba(200, 16, 46, 0.15) 100%);
  color: var(--uk-navy);
  border: 1px solid rgba(1, 33, 105, 0.2);
}

.tag.is-primary:hover {
  background: linear-gradient(135deg, rgba(1, 33, 105, 0.25) 0%, rgba(200, 16, 46, 0.25) 100%);
  border-color: var(--uk-red);
}

.tag.is-light {
  background: rgba(200, 16, 46, 0.1);
  color: var(--uk-red);
  border: 1px solid rgba(200, 16, 46, 0.2);
}

/* Input */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input:focus {
  outline: none;
  border-color: var(--uk-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .input {
  background: var(--surface-light);
  color: var(--text-light);
  border-color: rgba(1, 33, 105, 0.3);
}

[data-theme="light"] .input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.field {
  margin-bottom: 1rem;
}

.field.has-addons {
  display: flex;
  margin-bottom: 0;
}

.field.has-addons form {
  display: flex;
  width: 100%;
}

.field.has-addons .control {
  flex: 1;
}

.field.has-addons .control .input {
  border-radius: 0.5rem 0 0 0.5rem;
  width: 100%;
}

.field.has-addons .control .button {
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.75rem 1rem;
}

.control {
  position: relative;
}

/* Title & Subtitle */
.title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--uk-navy) 0%, var(--uk-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  opacity: 0.8;
}

.is-size-5 {
  font-size: 1.25rem;
}

.is-hoverable {
  position: relative;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--uk-navy) 0%, var(--uk-navy-light) 100%);
  color: white;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

.footer a {
  color: var(--uk-red-light);
}

.footer a:hover {
  text-decoration: underline;
}

/* Theme Toggle */
.theme-toggle {
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  width: 2.5rem;
  height: 2.5rem;
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.theme-toggle i {
  font-size: 1rem;
}

/* Utilities */
.has-text-centered {
  text-align: center;
}

.has-text-weight-bold {
  font-weight: 700;
}

.is-hidden-mobile {
  display: inline;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-5 { margin-top: 2rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

.is-flex {
  display: flex;
}

.is-justify-content-center {
  justify-content: center;
}

.is-vcentered {
  align-items: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Desktop: hide burger menu */
@media screen and (min-width: 1024px) {
  .navbar-burger {
    display: none !important;
  }
}

/* Responsive: Tablet and Mobile */
@media screen and (max-width: 1023px) {
  .navbar {
    flex-wrap: wrap;
  }
  
  .navbar-brand {
    width: 100%;
  }
  
  .navbar-burger {
    display: flex !important;
  }
  
  .navbar-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .navbar-start {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .navbar-end {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .navbar-item {
    width: 100%;
    text-align: center;
  }
  
  .navbar-end .navbar-item {
    justify-content: center;
  }
  
  .field.has-addons {
    width: 100%;
  }
  
  .field.has-addons form {
    width: 100%;
  }
  
  .has-dropdown .navbar-dropdown {
    position: static;
    display: none;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0 0 0;
  }
  
  .has-dropdown.is-active .navbar-dropdown {
    display: block;
  }
  
  .is-hidden-mobile {
    display: none !important;
  }
  
  .title {
    font-size: 1.5rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .is-mobile > .column {
    width: 100%;
  }
}

/* Badge */
.badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #10B981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Union Jack Flag - Only in card images */
.card-image .flag-uk {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.125rem;
  border-radius: 0.2rem;
  background: linear-gradient(to bottom, 
    transparent 40%, 
    white 40%, 
    white 60%, 
    transparent 60%
  ),
  linear-gradient(to right, 
    transparent 40%, 
    white 40%, 
    white 60%, 
    transparent 60%
  ),
  linear-gradient(135deg, 
    transparent 40%, 
    white 40%, 
    white 45%, 
    var(--uk-red) 45%, 
    var(--uk-red) 55%, 
    white 55%, 
    white 60%, 
    transparent 60%
  ),
  linear-gradient(45deg, 
    transparent 40%, 
    white 40%, 
    white 45%, 
    var(--uk-red) 45%, 
    var(--uk-red) 55%, 
    white 55%, 
    white 60%, 
    transparent 60%
  ),
  var(--uk-navy);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(1, 33, 105, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--uk-navy) 0%, var(--uk-red) 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--uk-navy-dark) 0%, var(--uk-red-dark) 100%);
}

/* Additional helper classes for Tailwind-like utilities */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Model Profile Card */
.model-profile-card {
  margin-bottom: 20px;
  background: var(--bg-secondary, #f5f5f5);
  padding: 25px;
  color: var(--text-color, #363636);
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

[data-theme="dark"] .model-profile-card {
  background: var(--bg-secondary, #2b2b2b);
  color: var(--text-color, #e8e8e8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.model-profile-card ul {
  list-style-type: none;
  padding: 0;
}

.model-profile-card .inline-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.model-profile-card .inline-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
}

/* Theatre Mode Close Button */
#theatre-close-btn {
  transition: transform 0.2s ease;
}

#theatre-close-btn:hover {
  transform: scale(1.1);
}

/* Width Utilities */
.w100 {
  width: 100% !important;
}

.w-50 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* My spacing utilities */
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

/* Has-text utilities for consistency */
.has-text-grey {
  color: #7a7a7a;
}

[data-theme="dark"] .has-text-grey {
  color: #b5b5b5;
}

/* Notification styling */
.notification {
  padding: 1.25rem 2.5rem 1.25rem 1.5rem;
  border-radius: 0.5rem;
  position: relative;
}

.notification.is-warning {
  background-color: #ffdd57;
  color: rgba(0, 0, 0, 0.7);
}

/* Image ratio helper */
.image.is-16by9 {
  display: block;
  position: relative;
  padding-top: 56.25%;
  background-color: #000;
}

.image.is-16by9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

