/* ============================================
   OreGold Solutions - Premium Dark Design
   ============================================ */

:root {
    /* Основні кольори */
    --primary-purple: #5d0792;
    --dark-blue: #080b38;
    --accent-cream: #ffecd1;
    --bg-dark: #0c0615;
    --bg-light-beige: #fff9ef;
    --bg-white: #ffffff;
    
    /* Додаткові відтінки для різноманітності */
    --purple-light: #7a0bb8;
    --purple-dark: #3d0560;
    --dark-overlay: rgba(8, 11, 56, 0.85);
    --cream-soft: #fff6e6;
    
    /* Типографіка */
    --font-main: "Raleway", sans-serif;
    
    /* Тіні та ефекти */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(93, 7, 146, 0.4);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--bg-light-beige);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: rgba(255, 249, 239, 0.9);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-cream);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

.header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 6, 21, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(93, 7, 146, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bg-white) !important;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--primary-purple) !important;
}

.navbar-nav .nav-link {
    color: var(--bg-light-beige) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 1.2rem !important;
    transition: var(--transition);
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border-color: var(--primary-purple);
}

.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='rgba(255, 236, 209, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 6, 21, 0.95), rgba(8, 11, 56, 0.75), rgba(93, 7, 146, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1.2s ease;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary-custom {
    background: var(--primary-purple);
    color: var(--bg-white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(93, 7, 146, 0.4);
}

.btn-primary-custom:hover {
    background: var(--purple-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--bg-white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--accent-cream);
    border: 2px solid var(--accent-cream);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--accent-cream);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 5rem 0;
    position: relative;
}

.section-light {
    background-color: var(--bg-white);
    color: var(--dark-blue);
}

.section-beige {
    background-color: var(--bg-light-beige);
    color: var(--dark-blue);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--bg-light-beige);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 1rem 3rem;
}

.section-title-highlight {
    background: var(--accent-cream);
    color: var(--dark-blue);
    padding: 1rem 3rem;
    display: inline-block;
    border-radius: 2px;
}

.section-title .subtitle {
    max-width: 800px;
    margin: 1rem auto 0;
    text-align: center;
}

/* Для темних секцій */
.section-dark .section-title h2 {
    color: var(--bg-white);
}

/* Для світлих секцій */
.section-light .section-title h2,
.section-beige .section-title h2 {
    color: var(--dark-blue);
}

.section-light p,
.section-beige p {
    color: rgba(8, 11, 56, 0.85);
}

/* ============================================
   CARDS
   ============================================ */

.card-custom {
    background: var(--bg-white);
    border: none;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

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

.card-custom img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-purple);
}

.card-custom .card-body {
    padding: 2rem;
}

.card-custom .card-title {
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-custom .card-text {
    color: rgba(8, 11, 56, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

/* Темні карточки (для світлого фону) */
.card-dark {
    background: var(--dark-blue);
    color: var(--bg-light-beige);
}

.card-dark .card-title {
    color: var(--accent-cream);
}

.card-dark .card-text {
    color: rgba(255, 249, 239, 0.9);
}

/* ============================================
   ICON BOXES
   ============================================ */

.icon-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-white);
    border-radius: 4px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-purple);
    box-shadow: var(--shadow-card);
    height: 100%;
}

.icon-box:hover {
    transform: translateY(-5px);
    border-left-width: 8px;
}

.icon-box .icon {
    font-size: 3.5rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.icon-box h4 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.icon-box p {
    color: rgba(8, 11, 56, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   CAROUSEL CUSTOM
   ============================================ */

.carousel-custom .carousel-control-prev,
.carousel-custom .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(93, 7, 146, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-custom .carousel-control-prev:hover,
.carousel-custom .carousel-control-next:hover {
    background: var(--primary-purple);
}

.carousel-custom .carousel-control-prev {
    left: -25px;
}

.carousel-custom .carousel-control-next {
    right: -25px;
}

.carousel-custom .carousel-indicators button {
    background-color: var(--primary-purple);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--dark-blue), var(--purple-dark));
    color: var(--bg-light-beige);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--primary-purple);
}

.footer h5 {
    color: var(--accent-cream);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

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

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

.footer ul li a {
    color: var(--bg-light-beige);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer ul li a:hover {
    color: var(--accent-cream);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 236, 209, 0.2);
    color: rgba(255, 249, 239, 0.7);
    font-size: 0.95rem;
}

.footer .contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer .contact-info .material-icons-outlined {
    color: var(--primary-purple);
    font-size: 1.3rem;
}

/* ============================================
   COOKIE POPUP
   ============================================ */

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--bg-white);
    color: var(--dark-blue);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    border-left: 5px solid var(--primary-purple);
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-popup h5 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.cookie-popup p {
    color: rgba(8, 11, 56, 0.85);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cookie-popup a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept {
    background: var(--primary-purple);
    color: var(--bg-white);
}

.btn-accept:hover {
    background: var(--purple-light);
}

.btn-decline {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.btn-decline:hover {
    background: var(--dark-blue);
    color: var(--bg-white);
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-custom {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
}

.form-custom .form-label {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-custom .form-control {
    border: 2px solid rgba(8, 11, 56, 0.2);
    border-radius: 4px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-custom .form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(93, 7, 146, 0.25);
}

.form-custom textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

/* ============================================
   PAGE HEADER (для другорядних сторінок)
   ============================================ */

.page-header {
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-blue), var(--purple-dark));
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--accent-cream);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   CONTACT INFO BLOCK
   ============================================ */

.contact-info-block {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--primary-purple);
}

.contact-info-block h4 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.contact-info-block p {
    color: rgba(8, 11, 56, 0.85);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-info-block .material-icons-outlined {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

/* ============================================
   MAP CONTAINER
   ============================================ */

.map-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.thankyou-card {
    max-width: 600px;
    margin: 5rem auto;
    background: var(--bg-white);
    padding: 4rem 3rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border-top: 5px solid var(--primary-purple);
}

.thankyou-card h1 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.thankyou-card p {
    color: rgba(8, 11, 56, 0.85);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.thankyou-card .material-icons-outlined {
    font-size: 5rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.6rem; }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .form-custom {
        padding: 2rem 1.5rem;
    }
}
