/* Sonique Conferencing Solutions - Custom Theme */
/* Based on original design with dark theme and brand colors */

/* Brand Colors */
:root {
    --sonique-black: #000000;
    --sonique-red: #e30613;
    --sonique-green: #00a859;
    --sonique-white: #ffffff;
    --sonique-gray: #e0e0e0;
    --sonique-text-light: #b0b0b0;
}

/* Hero Section - Full Height with Rotating Icon */
.hero-section {
    background-color: var(--sonique-black) !important;
    padding-top: 0 !important;
}

.hero-section .text-content h1,
.hero-section .text-content h2 {
    font-size: 3.5rem;
    text-align: left;
}

.hero-section .text-content h1 {
    font-weight: 700;
    color: var(--sonique-white) !important;
    line-height: 1.2;
}

.hero-section .text-content .sub-text {
    font-size: 2rem;
    color: #808080 !important;
    font-weight: 400;
}

/* Rotating Icon Animation */
@keyframes rotate-360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating-icon {
    position: absolute;
    top: -100%;
    right: -15%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: rotate-360 10s linear infinite;
    max-width: 55vw;
    z-index: 1;
}

.branding-div {
    overflow: hidden;
}

/* Transparent Owl Carousel */
.transparent-carousel.owl-carousel {
    display: inline-block;
    vertical-align: top;
    height: auto;
    width: 100%;
    overflow: hidden;
}

.transparent-carousel .owl-stage-outer {
    overflow: hidden;
}

.transparent-carousel .owl-item {
    padding-left: 10px;
}

.transparent-carousel .owl-nav,
.transparent-carousel .owl-dots {
    display: none; /* Hide navigation and dots */
}

/* Dark Navigation */
.navbar-dark,
.navbar-dark.bg-dark,
nav.bg-dark {
    background-color: var(--sonique-black) !important;
}

.navbar-dark .navbar-brand img {
    height: 40px !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--sonique-gray) !important;
    font-weight: 400;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--sonique-white) !important;
}

.btn-outline-light {
    border-color: #e0e0e0;
    color: #e0e0e0;
    border-radius: 20px;
}

.btn-outline-light:hover {
    background-color: #e0e0e0;
    color: black;
}

/* About Section */
.about-section {
    background-color: var(--sonique-white);
    padding: 80px 0;
}

.about-section h2 {
    color: var(--sonique-black);
    font-weight: 700;
}

.about-logo {
    max-width: 50%;
    height: auto;
    margin-bottom: 2rem;
}

/* Brand Color Bar */
.color-bar {
    display: flex;
    width: 250px;
    height: 10px;
    margin: 2rem auto 0;
}

.color-red {
    background-color: var(--sonique-red);
    flex-grow: 1;
}

.color-green {
    background-color: var(--sonique-green);
    flex-grow: 1;
}

.color-white {
    background-color: var(--sonique-white);
    flex-grow: 1;
    border: 1px solid #ccc;
}

.color-black {
    background-color: var(--sonique-black);
    flex-grow: 1;
}

/* Gallery Section - Dark Theme */
.gallery-section {
    background-color: var(--sonique-black);
    color: var(--sonique-white);
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-content p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Dark Footer */
.footer-dark {
    background-color: var(--sonique-black);
    color: var(--sonique-white);
}

/* Services Section - Dark Cards */
.service-card-dark {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: var(--sonique-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.3);
    border-color: var(--sonique-red);
}

.service-card-dark h3,
.service-card-dark h4,
.service-card-dark h5 {
    color: var(--sonique-white);
}

.service-card-dark .text-muted {
    color: var(--sonique-text-light) !important;
}

/* Page Headers - Dark Theme */
.page-header-dark {
    background-color: var(--sonique-black);
    color: var(--sonique-white);
    padding: 80px 0 60px;
}

/* Section Styling */
.section-dark {
    background-color: var(--sonique-black);
    color: var(--sonique-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--sonique-white);
}

.section-dark .lead {
    color: var(--sonique-text-light);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .text-content {
        font-size: 3rem;
    }

    .text-content {
        margin-bottom: 2rem;
    }
    
    .col-lg-6 {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    /* Mobile specific styles for rotating icon */
    .rotating-icon {
        position: absolute;
        top: 60%;
        left: 30%;
        transform: translate(-50%, -50%) rotate(0deg);
        animation: rotate-360 10s linear infinite;
        opacity: 0.5;
        max-width: 60vh;
        z-index: 1;
    }

    .hero-section .text-content h1 {
        font-size: 3rem;
        text-align: center;
    }

    .hero-section .text-content .sub-text {
        font-size: 1.5rem;
        text-align: center;
        color: #808080 !important;
    }

    .hero-section .text-content {
        margin-bottom: 2rem;
    }

    .about-logo {
        max-width: 80%;
    }

    .color-bar {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .gallery-item img {
        height: 250px;
    }

    .gallery-content h5 {
        font-size: 1rem;
    }

    .gallery-content p {
        font-size: 0.8rem;
    }

    .hero-section .text-content h1 {
        font-size: 2.5rem;
    }

    .hero-section .text-content .sub-text {
        font-size: 1.25rem;
        color: #808080 !important;
    }
}

/* Portfolio Filter Buttons */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--sonique-red);
    border-color: var(--sonique-red);
    color: white;
}

.filter-btn:not(.active):hover {
    background-color: rgba(224, 224, 224, 0.1);
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--sonique-black);
}

.portfolio-item {
    transition: opacity 0.4s ease;
}

/* Text Utilities for Dark Theme */
.text-brand-red {
    color: var(--sonique-red) !important;
}

.text-brand-green {
    color: var(--sonique-green) !important;
}

.bg-brand-red {
    background-color: var(--sonique-red) !important;
}

.bg-brand-green {
    background-color: var(--sonique-green) !important;
}

/* Button Variants */
.btn-brand-red {
    background-color: var(--sonique-red);
    border-color: var(--sonique-red);
    color: white;
}

.btn-brand-red:hover {
    background-color: #c00511;
    border-color: #c00511;
    color: white;
}

.btn-brand-green {
    background-color: var(--sonique-green);
    border-color: var(--sonique-green);
    color: white;
}

.btn-brand-green:hover {
    background-color: #008a4a;
    border-color: #008a4a;
    color: white;
}
