@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --bs-primary-rgb: 46, 46, 46;
    --bs-secondary-rgb: 184, 134, 11;
    --bs-body-bg: #fcfaf6;
    --bs-body-color: #2e2e2e;
    --bs-link-color: #b8860b;
    --bs-link-hover-color: #a0770a;

    --primary-color: #2e2e2e;
    --secondary-color: #b8860b;
    --background-color: #fcfaf6;
    --footer-bg-color: #1a1a1a;

    --section-bg-1: #fcfaf6;
    --section-bg-2: #f5f0eb;
    --section-bg-3: #eee9e3;
    --section-bg-4: #e8e3dc;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --border-radius-sm: 0.3rem;
    --border-radius-md: 0.6rem;
    --border-radius-lg: 1rem;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

    --transition-speed: 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--primary-color);
    background-color: var(--background-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
    letter-spacing: 0.02em;
}

h1 {
    font-size: calc(1.8rem + 1.5vw);
    font-weight: 700;
    letter-spacing: 0.05em;
}

h2 {
    font-size: calc(1.5rem + 0.9vw);
    font-weight: 600;
}

h3 {
    font-size: calc(1.3rem + 0.4vw);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--bs-link-hover-color);
    text-decoration: underline;
}

.text-gold {
    color: var(--secondary-color) !important;
}

.bg-gold {
    background-color: var(--secondary-color) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a0770a;
    --bs-btn-hover-border-color: #a0770a;
    --bs-btn-focus-shadow-rgb: 216, 172, 59;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #8c6809;
    --bs-btn-active-border-color: #8c6809;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--secondary-color);
    --bs-btn-disabled-border-color: var(--secondary-color);
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.8em 2em;
    border-radius: var(--border-radius-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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: all var(--transition-speed);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-primary {
    --bs-btn-color: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary-color);
    --bs-btn-hover-border-color: var(--secondary-color);
    --bs-btn-focus-shadow-rgb: 216, 172, 59;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--secondary-color);
    --bs-btn-active-border-color: var(--secondary-color);
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.8em 2em;
    border-radius: var(--border-radius-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: var(--background-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.08em;
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0.8rem;
    position: relative;
    padding-bottom: 0.3rem;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hero-section {
    background-color: var(--background-color);
    padding: 8rem 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: transform 0.6s ease-in-out;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
}

.card {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
}

.card-img-top {
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: transform var(--transition-speed);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.footer {
    background-color: var(--footer-bg-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0;
    font-family: var(--font-body);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer h5 {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.gradient-text {
    background: linear-gradient(45deg, #b8860b, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gold-border {
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.img-fluid-hover-scale {
    transition: transform 0.5s ease-in-out;
}

.img-fluid-hover-scale:hover {
    transform: scale(1.05);
}

.modal-content {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: none;
    background-color: var(--section-bg-1);
}

.modal-header {
    border-bottom: 1px solid var(--section-bg-3);
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--section-bg-3);
    padding: 1.5rem;
}

.form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da;
    padding: 0.8em 1em;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25);
}


/* Alpine.js specific transitions */
[x-cloak] { display: none !important; }

/* Fade transitions for x-show / x-if */
.fade-enter-active, .fade-leave-active {
    transition: opacity var(--transition-speed);
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

/* Slide in from bottom for modals/dropdowns */
.slide-up-enter-active, .slide-up-leave-active {
    transition: all var(--transition-speed);
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Gold accent line separator */
.separator-line {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.text-justify {
    text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
        transform: rotate(0deg);
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .navbar-toggler {
        border-color: rgba(0,0,0,.1);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(46, 46, 46)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}