/* British Tailoring Design System - Elegant & Sophisticated */

:root {
    /* British Tailoring Color Palette */
    --primary-color: #1a365d;        /* Deep British Navy */
    --primary-light: #2d5a87;       /* Lighter Navy */
    --accent-color: #d4af37;        /* Elegant Gold */
    --accent-light: #e6c866;        /* Light Gold */
    --background-cream: #faf8f5;    /* Warm Cream */
    --text-dark: #2d3748;           /* Deep Charcoal */
    --text-muted: #718096;          /* Muted Gray */
    --border-light: #e2e8f0;       /* Light Border */
    --shadow-color: rgba(26, 54, 93, 0.1);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Custom Bootstrap Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.bg-light-blur {
    background-color: rgba(250, 248, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Banner Section */
.banner-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.banner-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-elegant {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.btn-elegant:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border: none;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 54, 93, 0.15);
}

/* Images */
.hover-scale {
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

/* Process Cards */
.process-card {
    transition: var(--transition-smooth);
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-cream), #f7f5f2);
}

/* Video Cards */
.video-card {
    transition: var(--transition-smooth);
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    transition: var(--transition-smooth);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition-bounce);
}

.play-overlay:hover .play-button {
    transform: scale(1.2);
}

/* Process Steps */
.process-step {
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 120px;
}

.process-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.process-step:hover .process-image-container img {
    transform: scale(1.1);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-top {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.btn-top:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-line {
    background: #00c300;
    color: white;
}

.btn-line:hover {
    background: #00a000;
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .banner-slide {
        background-size: cover;
        background-position: center center;
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .process-image-container {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .banner-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .banner-content {
        padding: 0 15px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .banner-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-elegant, .btn-gold {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-family: var(--font-body);
    font-size: 14px;
}

.lb-data .lb-number {
    font-family: var(--font-body);
}

/* Video Modal */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 15px 15px 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}