:root {
    --deep-blue: #001f3f;
    --medium-blue: #003366;
    --light-blue: #004080;
    --gold: #FFD700;
    --light-gold: #FFF8DC;
    --dark-gold: #B8860B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    color: #333;
    line-height: 1.7;
    background-color: white;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-family: 'Lora', serif;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background-color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    gap: 12px;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: var(--deep-blue) !important;
    margin: 0 15px;
    transition: color 0.3s ease;
    font-weight: 500;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
}

/* Base Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 215, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    padding: 60px 0;
    z-index: 2;
    position: relative;
}

.hero-section h1 {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    font-weight: 900;
    font-size: 3.5rem;
}

.hero-section .lead {
    color: #666;
    font-size: 1.25rem;
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.8;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border: none;
    color: var(--deep-blue);
    font-weight: 600;
    padding: 14px 35px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-gold) 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-primary {
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
    font-weight: 600;
    padding: 14px 35px;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    font-family: 'Playfair Display', serif;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--deep-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.3);
}

.btn-outline-primary:hover::before {
    left: 0;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-section h2 {
    color: var(--deep-blue);
}

.quote-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--deep-blue) 100%);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quote-card:hover::before {
    opacity: 1;
}

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

.quote-card p.fst-italic {
    font-size: 1.15rem;
    color: var(--medium-blue);
    line-height: 1.9;
    font-family: 'Lora', serif;
    font-weight: 500;
}

.quote-card p.fw-bold {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    background-color: white;
}

.services-section h2 {
    color: var(--deep-blue);
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--deep-blue) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: white;
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card i {
    color: var(--gold);
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--deep-blue);
}

.service-card h4 {
    color: var(--deep-blue);
    margin: 20px 0 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--deep-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background pattern overlay */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
    animation: backgroundPattern 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundPattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.contact-section h2,
.contact-section .lead {
    color: white;
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.contact-section .lead {
    opacity: 0.95;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Form inputs styling */
.form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--deep-blue);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-control:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.form-control:focus {
    background-color: white;
    border-color: var(--gold);
    box-shadow: 
        0 0 0 0.25rem rgba(255, 215, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.form-floating label {
    color: var(--medium-blue);
    font-family: 'Lora', serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    color: var(--gold);
    font-weight: 600;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-control {
    font-family: 'Lora', serif;
}

/* Textarea specific styling */
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Submit button enhanced styling */
.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border: none;
    color: var(--deep-blue);
    font-weight: 700;
    padding: 16px 45px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-gold) 0%, var(--gold) 100%);
    transition: left 0.4s ease;
}

.contact-form .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.contact-form .btn-primary span {
    position: relative;
    z-index: 1;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
}

.contact-form .btn-primary:hover::before {
    left: 0;
}

.contact-form .btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Contact info enhanced styling */
.contact-info {
    color: white;
    font-size: 1rem;
    font-family: 'Lora', serif;
    font-weight: 400;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.contact-content {
    padding: 40px;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contact-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-info span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.contact-info span:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-info span:hover::before {
    width: 200px;
    height: 200px;
}

.contact-info i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info span:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #fff;
}

/* Email link styling */
.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--gold);
}

/* Animation for form elements on load */
.contact-form .form-floating {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-form .form-floating:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-form .form-floating:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-form .col-12:nth-child(3) .form-floating {
    animation-delay: 0.3s;
}

.contact-form .col-12:nth-child(4) .form-floating {
    animation-delay: 0.4s;
}

.contact-form .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: var(--deep-blue);
    color: white;
}

.footer p {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Hero Variation 2: Split Screen */
.hero-2 .hero-content-split {
    padding: 80px;
}

.hero-image-split {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Hero Variation 3: Minimal */
.hero-3 {
    background: white;
    position: relative;
    overflow: hidden;
}

.hero-content-minimal h1 {
    font-size: 5rem;
    line-height: 1;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--gold) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--deep-blue) 0%, transparent 50%);
    opacity: 0.05;
    z-index: -1;
}

/* Hero Variation 4: Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 31, 63, 0.7);
    z-index: -1;
}

.hero-4 h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Video Hero Main */
.hero-video-main {
    display: block !important;
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-video-main .hero-content h1 {
    color: white !important;
}

.hero-video-main .hero-content .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-selector {
        right: 10px;
        gap: 5px;
    }
    
    .hero-style-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .hero-2 .hero-content-split {
        padding: 40px;
    }
    
    .hero-content-minimal h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-content {
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .contact-info {
        padding: 20px;
        font-size: 0.9rem;
    }
    
    .contact-info span {
        display: block;
        margin: 8px 0;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .contact-info i {
        font-size: 1rem;
        margin-right: 6px;
    }
    
    .contact-info a {
        word-break: break-word;
    }
    
    .contact-section h2 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form .btn-primary {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* About Section Images */
.about-image-left,
.about-image-right {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    filter: brightness(0.95) contrast(1.05);
    position: relative;
    overflow: hidden;
}

.about-image-left:hover,
.about-image-right:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    filter: brightness(1) contrast(1.1);
}

/* Subtle parallax effect on scroll */
.about-image-left {
    animation: floatLeft 6s ease-in-out infinite;
}

.about-image-right {
    animation: floatRight 6s ease-in-out infinite;
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

/* Fade in animation when scrolling into view */
.about-section {
    overflow: hidden;
}

.about-image-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards, floatLeft 6s ease-in-out infinite 0.8s;
}

.about-image-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards, floatRight 6s ease-in-out infinite 0.8s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.about-section .container-fluid {
    max-width: 1400px;
}

.about-section .row {
    min-height: 400px;
}

/* Responsive adjustments for about section */
@media (max-width: 991px) {
    .about-section .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    .about-section .row {
        text-align: center;
    }
    
    .about-image-left,
    .about-image-right {
        width: 100%;
        max-width: 400px;
        height: 250px;
        margin: 0 auto;
        display: block;
    }
}