/* === NESTLINE COMPLETE REDESIGN - LUXURY INTERIOR DESIGN === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* === ROOT VARIABLES === */
:root {
    --primary-gold: #FFD700;
    --primary-dark: #0A0A0A;
    --primary-black: #000000;
    --secondary-black: #111111;
    --accent-charcoal: #1C1C1C;
    --accent-gold: #B8860B;
    --text-dark: #FFFFFF;
    --text-light: #CCCCCC;
    --text-muted: #999999;
    --white: #FFFFFF;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.8);
    --shadow-hard: 0 30px 60px rgba(0,0,0,0.9);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

body {
    position: relative;
}

/* === HEADER COMPLETE REDESIGN === */
header {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: 1000;
    background: #000000;
    
    height: 60px;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 10000;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

header .logo {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    border-radius: 50%;
    object-fit: cover;
    
    transition: var(--transition);
}

header .logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.header-nav {
    justify-self: center;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 36px;
    display: flex;
    align-items: center;
}

.header-nav a:hover {
    color: var(--white);
    background: var(--secondary-black);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

/* User Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.language-toggle {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    height: 36px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    top: 15px;
}

.language-toggle:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.user-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 36px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-menu a:hover {
    background: var(--secondary-black);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.user-menu .btn-primary,
.user-menu a[href="login.php"] {
    background: var(--primary-gold);
    color: var(--primary-black);
    border: 1px solid var(--primary-gold);
    font-weight: 600;
}

.user-menu .btn-primary:hover,
.user-menu a[href="login.php"]:hover {
    background: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.user-menu .btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

.user-menu .btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.welcome-text {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: auto auto;
        gap: 1rem;
    }
    
    .header-nav {
        justify-self: end;
    }
    
    .header-nav ul {
        gap: 1rem;
    }
    
    .header-actions {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }
    
    .header-container {
        grid-template-columns: 1fr auto;
        padding: 0 1rem;
    }
    
    .header-nav ul {
        gap: 0.5rem;
    }
    
    .header-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .user-menu a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* === MAIN CONTENT === */
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

main {
    flex: 1;
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-charcoal);
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/project_1.jpg') center/cover;
    opacity: 0.5;
    border-radius: var(--border-radius);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-content p {
    color: var(--primary-black);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .services-button {
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover, .services-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hard);
    background: var(--accent-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-gold);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.hero-visual {
    position: relative;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    transform: rotate(3deg);
}

.hero-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.05);
}

/* === SECTIONS === */
section, .services-section {
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--accent-charcoal);
}

/* Specific grey background for services and contact sections */
.services,
.additional-services,
.contact,
.portfolio {
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--accent-charcoal);
}

.additional-services h3 {
    color: var(--white);
}


/* Elegant card and shadow for forms */
.contact {

    padding: 40px 32px;
    max-width: 480px;
    margin: 32px auto;
    text-align: center;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title, .title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === SERVICES GRID === */
.services-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: var(--accent-charcoal);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    padding: 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.service-image, .service-card .service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: 0;
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

/* === SERVICE SECTIONS STYLING === */
.services-section {
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--accent-charcoal);
}

.services-category {
    max-width: 1400px;
    margin: 0 auto;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.service-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-item {
    background: var(--accent-charcoal);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    flex-shrink: 0;
}

.service-item p {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
}

.service-item button {
    margin: 0.5rem 1.5rem 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.add-to-cart-btn,
.buy-now-btn,
.download_sample_btn {
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.add-to-cart-btn:hover,
.buy-now-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.download_sample_btn {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.download_sample_btn:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

/* === MODAL STYLING === */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--secondary-black);
    margin: 15% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 80%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--accent-charcoal);
    box-shadow: var(--shadow-hard);
}

.close-button {
    color: var(--primary-gold);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-button:hover {
    color: var(--white);
    transform: scale(1.2);
}

#modalTitle {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

#modalDescription {
    color: var(--text-light);
    line-height: 1.6;
}

/* === PROJECT GRID === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-card {
    background: var(--accent-charcoal);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.project-card p {
    padding: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.project-card strong {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 1rem;
}

/* === SLIDESHOW === */
.slideshow {
    margin: 2rem 0;
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-charcoal);
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    min-height: 400px;
}

.slide {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    animation: fadeIn 1s ease-in-out;
}

.slide.active {
    display: flex;
}

.slide img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    object-fit: contain;
}

.slide img:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* === CONTACT SECTION === */
.contact, .register, .login, .payment-form {
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    text-align: center;
    border: 1px solid var(--accent-charcoal);
}

.contact h2, .register h2, .login h2, .payment-form h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.contact form, .register form, .login form, .payment-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input, textarea, select {
    font-family: 'Inter', Arial, sans-serif;
    border: 1px solid var(--accent-charcoal);
    border-radius: var(--border-radius);
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 0;
    background: var(--accent-charcoal);
    color: var(--white);
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

button {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    margin: 0;
}

button:hover {
    background: var(--accent-gold);
    box-shadow: var(--shadow-hard);
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-light);
}

/* === FOOTER === */
footer {
    background: var(--primary-black);
    color: var(--white);
    text-align: center;
    padding: 3rem 0 2rem 0;
    margin-top: auto;
    box-shadow: 0 -2px 20px rgba(255, 215, 0, 0.1);
    border-top: 1px solid var(--accent-charcoal);
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.footer-links a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--white);
}

.payment-methods {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.payment-logo {
    height: 40px;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: var(--transition);
    border-radius: 8px;
}

.payment-logo:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

/* === LANGUAGE CONTENT === */
.language-content[data-lang="en"] {
    display: block;
}

.language-content[data-lang="uk"] {
    display: none;
}

.active[data-lang="en"] {
    display: none;
}

.active[data-lang="uk"] {
    display: block;
}

/* === NOTIFICATIONS === */
.notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    font-size: 1rem;
    font-weight: 600;
    opacity: 1;
    transition: var(--transition);
    z-index: 1000;
}

.notification.hidden {
    opacity: 0;
}

/* === FEATURE CARDS === */
.feature-card {
    background: var(--accent-charcoal) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
    border-color: var(--primary-gold) !important;
}

.feature-card h4 {
    color: var(--primary-gold) !important;
}

.feature-card p {
    color: var(--text-light) !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .header-nav {
        gap: 0.8rem;
    }
    
    .header-nav a {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        min-height: 45px;
        padding: 0.4rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .header-nav {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-nav ul {
        flex-direction: row;
        gap: 0.5rem;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-nav a {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    header .logo {
        width: 28px;
        height: 28px;
    }
    
    .language-toggle {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        height: 24px;
    }
    
    .user-menu a {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        height: 24px;
    }
    
    .wrapper {
        padding-top: 80px;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid, .service-grid, .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    section, .services-section {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .contact, .register, .login {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title, .title {
        font-size: 2rem;
    }
    
    .hero-image-grid {
        grid-template-columns: 1fr;
        transform: none;
    }
    
    .slide {
        flex-direction: column;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* === ANIMATIONS === */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

/* === SPECIAL EFFECTS === */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-sage) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--secondary-black);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 32px 0 24px 0;
    text-align: center;
    
}

header h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

header h2 {
    font-size: 1.25rem;
    color: var(--primary-gold);
    margin: 0;
}

header a {
    font-size: 1.25rem;
    color: white;
    margin: 0;
}




nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
nav a:hover {
    background: #e3e3e3;
    color: #0077b6;
}

.wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}

section, .services-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 40px 32px;
    margin-bottom: 32px;
}

.title {
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    color: var(--primary-gold);
}

.title h2 {
    color: var(--primary-gold);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 32px 0;
}

.service-card {
    background: var(--accent-charcoal);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 32px 24px;
    transition: box-shadow 0.2s;
}
.service-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.service-card .service-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 16px;
}
.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
}
.service-card p {
    color: var(--white);
    font-size: 1rem;
}

button, .add-to-cart-btn, .download-btn, .buy-now-btn {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(90deg, #0077b6 0%, #00b4d8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    margin: 8px 0;
}
button:hover, .add-to-cart-btn:hover, .download-btn:hover, .buy-now-btn:hover {
    background: linear-gradient(90deg, #00b4d8 0%, #0077b6 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}
.footer-links a {
    color: #0077b6;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.footer-links a:hover {
    background: #e3e3e3;
    color: #222;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 32px 0 16px 0;
    margin-top: auto;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.payment-methods {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.payment-logo {
    height: 32px;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.payment-logo:hover {
    opacity: 1;
    filter: none;
}

/* Responsive Design */
@media (max-width: 900px) {
    .wrapper, section, .services-section {
        padding: 24px 8px;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
@media (max-width: 600px) {
    header {
        padding: 20px 0 12px 0;
    }
    .title {
        font-size: 1.25rem;
    }
    .service-card {
        padding: 16px 8px;
    }
    .footer-links {
        gap: 8px;
    }
    footer {
        padding: 16px 0 8px 0;
    }
}

.contact h2, .register h2, .login h2, .payment-form h1 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 24px;
}

/* Language toggle button */
.language-toggle {
    position: fixed;
    top: 45px;
    right: 18px;
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}
.language-toggle:hover {
    background: #00b4d8;
}

/* Miscellaneous */
a {
    color: #0077b6;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #222;
}

h1, h2, h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #222;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.25rem;
}

/* Elegant dot indicator for slides */
.dot {
    cursor: pointer;
    height: 14px;
    width: 14px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}
.dot:hover {
    background-color: #0077b6;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #0077b6 0%, #00b4d8 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.5s;
    z-index: 1000;
}
.notification.hidden {
    opacity: 0;
}

/* Custom section for discounts, etc. */
#discountSection {
    margin-top: 24px;
    text-align: center;
}
#discountSection input[type="text"] {
    padding: 12px;
    width: 220px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
}
#discountSection button {
    padding: 12px 24px;
    font-size: 1rem;
    background: linear-gradient(90deg, #0077b6 0%, #00b4d8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.2s;
}
#discountSection button:hover {
    background: linear-gradient(90deg, #00b4d8 0%, #0077b6 100%);
}
#discountMessage {
    margin-top: 12px;
    color: #0077b6;
    font-weight: 600;
}

/* Purchased Item */
.purchased-item {
    background: #f8f9fa;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    padding: 32px;
    margin: 32px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.purchased-item h3 {
    font-size: 1.5rem;
    color: #0077b6;
    margin-bottom: 16px;
}

/* Language-specific content visibility */
.language-content[data-lang="en"] {
    display: block;
}
.language-content[data-lang="uk"] {
    display: none;
}
.active[data-lang="en"] {
    display: none;
}
.active[data-lang="uk"] {
    display: block;
}

/* === PAGE CONTENT STYLES === */
.page-content,
.about-us,
.payment-delivery,
.public-offer,
.price-list,
.confidentiality-policy,
.exchange-returns {
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--accent-charcoal);
    color: var(--text-light);
}

.page-content h1,
.about-us h1,
.payment-delivery h1,
.public-offer h1,
.price-list h1,
.confidentiality-policy h1,
.exchange-returns h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.page-content h2,
.payment-delivery h2,
.public-offer h2,
.price-list h2,
.confidentiality-policy h2,
.exchange-returns h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.page-content h3,
.payment-delivery h3,
.public-offer h3,
.price-list h3,
.confidentiality-policy h3,
.exchange-returns h3 {
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
}