/* CSS Variables for Triadic Color Scheme */
:root {
    /* Primary Triadic Colors */
    --primary-color: #2E86AB;
    --secondary-color: #A23B72;
    --tertiary-color: #F18F01;
    
    /* Extended Color Palette */
    --primary-light: #4DA3C7;
    --primary-dark: #1A5F7A;
    --secondary-light: #C45A8C;
    --secondary-dark: #7A2555;
    --tertiary-light: #F4A942;
    --tertiary-dark: #CC7700;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #495057;
    --black: #212529;
    
    /* Background Colors */
    --bg-primary: var(--light-gray);
    --bg-secondary: #E9ECEF;
    --bg-dark: var(--black);
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: var(--gray);
    --text-light: var(--white);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 20px;
    
    /* Border Radius for Neumorphism */
    --border-radius: 20px;
    --border-radius-sm: 10px;
    --border-radius-lg: 30px;
    
    /* Shadows for Neumorphism */
    --shadow-light: 8px 8px 16px rgba(209, 217, 230, 0.8), -8px -8px 16px rgba(255, 255, 255, 0.9);
    --shadow-dark: inset 5px 5px 10px rgba(209, 217, 230, 0.5), inset -5px -5px 10px rgba(255, 255, 255, 0.7);
    --shadow-hover: 12px 12px 24px rgba(209, 217, 230, 0.6), -12px -12px 24px rgba(255, 255, 255, 0.8);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(46, 134, 171, 0.1);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    background: var(--shadow-light);
}

/* Button Styles */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    box-shadow: var(--shadow-light);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-dark);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    box-shadow: 0 12px 35px rgba(46, 134, 171, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Section Padding */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.8), rgba(162, 59, 114, 0.6));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white) !important;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white) !important;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Services Section */
.service-card {
    background: var(--light-gray);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-card .card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.service-card .card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-card {
    background: var(--light-gray);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.gallery-card .card-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.gallery-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: center;
}

.gallery-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.gallery-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Press Section */
.press-card {
    background: var(--light-gray);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    height: 100%;
}

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

.press-card .card-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.press-card h4 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.press-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.press-card .text-muted {
    color: var(--gray) !important;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.press-card p:last-child {
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Behind the Scenes Section */
.process-steps .step-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    margin-bottom: 1.5rem;
}

.process-steps .step-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.process-steps h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.process-steps p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Accolades Section */
.accolade-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accolade-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.accolade-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.accolade-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.accolade-item p {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0;
}

.certifications ul li {
    color: var(--text-secondary);
    font-weight: 500;
}

/* External Resources Section */
.resource-card {
    background: var(--light-gray);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    height: 100%;
}

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

.resource-card .card-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resource-card h5 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.resource-card h5 a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.resource-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-form-card {
    background: var(--light-gray);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.contact-form-card .card-content {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control, .form-select {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-dark);
    padding: 12px 16px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
    outline: none;
}

.form-control:hover, .form-select:hover {
    box-shadow: var(--shadow-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer h5, .footer h6 {
    color: var(--tertiary-color);
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer a:hover {
    color: var(--tertiary-color);
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--tertiary-color);
    color: var(--white) !important;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Success Page Specific */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.success-content {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    width: 90%;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
    padding-top: 100px;
    min-height: 100vh;
}

.content-page {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin: 2rem 0;
}

.content-page h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.content-page h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-page p, .content-page li {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-page ul, .content-page ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Cookie Consent */
.cookie-consent {
    background: rgba(0, 0, 0, 0.95);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    border-top: 3px solid var(--tertiary-color);
}

.cookie-consent p {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

#acceptCookies {
    background: var(--tertiary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

#acceptCookies:hover {
    background: var(--tertiary-dark);
    transform: translateY(-2px);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .service-card .card-content,
    .contact-form-card .card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card .card-content,
    .gallery-card .card-content,
    .press-card .card-content {
        padding: 1rem;
    }
}

/* High Contrast Text Accessibility */
.text-contrast {
    color: var(--text-primary) !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.text-contrast-light {
    color: var(--white) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Read More Links */
.read-more-link {
    color: var(--tertiary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.read-more-link:hover {
    color: var(--tertiary-dark);
    text-decoration: none;
}

.read-more-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition-fast);
}

.read-more-link:hover::after {
    transform: translateX(3px);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--tertiary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .hero-section,
    #cookieConsent {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}