/**
 * TISLAK - Premium Event Management Website Theme Styles
 * Color Palette: Primary Gold (#C9A227), Black (#111111), White (#FFFFFF), Light Gray (#F8F8F8)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-gold: #C9A227;
    --dark-black: #111111;
    --pure-white: #FFFFFF;
    --light-gray: #F8F8F8;
    --glass-bg: rgba(17, 17, 17, 0.75);
    --glass-border: rgba(201, 162, 39, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
body {
    background-color: var(--pure-white);
    color: var(--dark-black);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.dark-theme {
    background-color: #F7F2EB; /* Soft Warm Luxury Beige Background */
    color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6, .luxury-font {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    color: var(--dark-black);
    text-decoration: none;
    transition: var(--transition-smooth);
}

body.dark-theme a {
    color: #111111;
}

a:hover {
    color: var(--primary-gold) !important;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-black);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

/* Sticky Premium Header */
.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--pure-white) !important;
}

.navbar-brand span {
    color: var(--primary-gold);
}

.nav-link {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 25px 15px !important;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 30px);
}

/* Mega Menu Styles */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--primary-gold);
    border-radius: 0 0 10px 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 0;
}

/* Buttons */
.btn-premium {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    padding: 14px 32px;
    border-radius: 0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium-gold {
    background-color: var(--primary-gold);
    color: #111 !important;
    border: 1px solid var(--primary-gold);
}

.btn-premium-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

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

.btn-premium-gold:hover {
    background-color: transparent;
    color: var(--primary-gold) !important;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--pure-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-premium-outline:hover {
    border-color: var(--primary-gold);
    background-color: var(--primary-gold);
    color: #111 !important;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

/* Hero Section */
.hero-slider-section {
    height: 100vh;
    position: relative;
    background-color: #000;
}

.hero-slider-section .carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider-section .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17,17,17,0.4) 0%, rgba(17,17,17,0.85) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
    z-index: 5;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pure-white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 35px;
    animation: fadeInUp 1.2s ease;
}

/* Glassmorphism Sections (Dark theme styling) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Headings */
.section-title-wrapper {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

.text-start .section-title::after {
    left: 0;
    transform: none;
}

/* Service Card Layout */
.service-card {
    background: var(--light-gray);
    border-radius: 0;
    border: none;
    overflow: hidden;
    transition: var(--transition-smooth);
    padding: 40px 30px;
    height: 100%;
    position: relative;
}

body.dark-theme .service-card {
    background: #1a1a1a;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

body.dark-theme .service-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    display: inline-block;
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Portfolio Filters & Overlay */
.portfolio-filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-black);
    padding: 8px 22px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 5px;
    transition: var(--transition-smooth);
}

body.dark-theme .portfolio-filter-btn {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
}

.portfolio-filter-btn.active, .portfolio-filter-btn:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #111 !important;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 30px;
    text-align: center;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-category {
    color: var(--primary-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Testimonial slider */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.testimonial-rating {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

.testimonial-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-gold);
}

.client-details h5 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--pure-white);
}

.client-details span {
    font-size: 0.85rem;
    color: var(--primary-gold);
}

/* Stats counter */
.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #888;
}

/* Contact widgets */
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.contact-info-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: #888;
    margin: 0;
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-black);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-title {
    color: var(--pure-white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-floating {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.btn-floating:hover {
    transform: scale(1.1) translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
}

.btn-call {
    background-color: var(--primary-gold);
    color: #111 !important;
}

.btn-back-to-top {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--primary-gold) !important;
    border: 1px solid var(--glass-border);
    opacity: 0;
    visibility: hidden;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

/* Blog layouts */
.blog-card {
    background: var(--light-gray);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

body.dark-theme .blog-card {
    background: #1a1a1a;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card-img {
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 30px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Admin Dashboard layout tweaks */
.admin-sidebar {
    background-color: var(--dark-black);
    min-height: 100vh;
    border-right: 1px solid var(--glass-border);
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 12px 20px !important;
    font-size: 0.9rem;
}
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: var(--primary-gold) !important;
    background: rgba(201, 162, 39, 0.05);
}
.admin-sidebar .nav-link::after {
    display: none;
}

/* Premium Light Beige Theme Overrides & Logo Sizing */
body.dark-theme h1, 
body.dark-theme h2, 
body.dark-theme h3, 
body.dark-theme h4, 
body.dark-theme h5, 
body.dark-theme h6 {
    color: #111111;
}

body.dark-theme .navbar-brand {
    color: #111111 !important;
}

body.dark-theme .nav-link {
    color: rgba(17, 17, 17, 0.8) !important;
}

body.dark-theme .nav-link:hover, 
body.dark-theme .nav-link.active {
    color: var(--primary-gold) !important;
}

body.dark-theme .header-wrapper.sticky {
    background: rgba(247, 242, 235, 0.95) !important;
    box-shadow: 0 4px 30px rgba(44, 34, 30, 0.05);
}

body.dark-theme .bg-dark {
    background-color: #FFFFFF !important;
    color: #1a1a1a !important;
}

body.dark-theme .glass-card {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(44, 34, 30, 0.04);
}

body.dark-theme .service-card {
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(44, 34, 30, 0.02);
}

body.dark-theme .testimonial-card {
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(44, 34, 30, 0.04);
}

body.dark-theme .testimonial-text {
    color: #2C221E;
}

body.dark-theme .client-details h5 {
    color: #111111;
}

body.dark-theme .blog-card {
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(44, 34, 30, 0.02);
}

body.dark-theme .blog-title a {
    color: #111111 !important;
}

body.dark-theme .portfolio-filter-btn {
    border-color: rgba(17, 17, 17, 0.15);
    color: #111111;
}

body.dark-theme .portfolio-filter-btn:hover, 
body.dark-theme .portfolio-filter-btn.active {
    background: var(--primary-gold);
    color: #FFFFFF;
    border-color: var(--primary-gold);
}

body.dark-theme .text-muted {
    color: #60554E !important;
}

/* Custom Responsive Logo Styles */
.site-logo-img {
    max-height: 65px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header-wrapper.sticky .site-logo-img {
    max-height: 50px;
}

.site-logo-img-footer {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

body.dark-theme .service-card .service-card-title,
body.dark-theme .service-card-title.text-white {
    color: #111111 !important;
}
