/*
Theme Name: Osito Theme
Theme URI: #
Author: Bryan
Author URI: #
Description: A custom WordPress theme converted from a static HTML template for Osito Photo Studio.
Version: 1.0.0
Text Domain: osito-theme
*/
:root {
    --bg-color: #0c0c10;
    --text-color: #f8f8f8;

    /* Colombian Flag Hexes */
    --col-yellow: #FCD116;
    --col-blue: #003893;
    --col-red: #CE1126;

    --accent: var(--col-yellow);
    --accent-hover: #e6bd0d;
    --surface-light: rgba(12, 12, 16, 0.6);
    --surface-glow-y: rgba(252, 209, 22, 0.15);
    --surface-glow-b: rgba(0, 56, 147, 0.2);
    --surface-glow-r: rgba(206, 17, 38, 0.15);
    --glass-border: rgba(255, 255, 255, 0.08);
    --border-color: #222;

    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 50% 0%, #171720 0%, var(--bg-color) 40%);
    background-color: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography specifics */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--col-yellow) 33.3%, var(--col-blue) 33.3%, var(--col-blue) 66.6%, var(--col-red) 66.6%);
    margin: 20px 0;
    border-radius: 2px;
}

.divider.center {
    margin: 20px auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(12, 12, 16, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 15px 50px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    background: linear-gradient(135deg, var(--col-yellow), var(--col-blue), var(--col-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nav-links li a:hover {
    opacity: 1;
    color: var(--col-yellow);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--col-yellow), var(--col-blue), var(--col-red));
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links li a:hover::after {
    width: 100%;
}

.contact-btn {
    background: rgba(252, 209, 22, 0.05);
    border: 1px solid var(--col-yellow);
    color: var(--col-yellow);
    padding: 8px 24px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 40px;
}

.contact-btn:hover {
    background: var(--col-yellow);
    color: #000;
    box-shadow: 0 0 15px var(--surface-glow-y);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(12, 12, 16, 0.6), rgba(12, 12, 16, 0.95)), url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?q=80&w=2071&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-color);
    filter: blur(20px);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 2;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--col-yellow) 0%, var(--col-blue) 50%, var(--col-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--col-yellow), #eac213);
    color: #000;
    padding: 18px 45px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(252, 209, 22, 0.2);
}

.cta-btn:hover {
    background: linear-gradient(135deg, #eac213, var(--col-yellow));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 209, 22, 0.4);
}

/* Sections Global */
section {
    padding: 120px 50px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header p {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: transparent;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--col-blue) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.85;
}

/* Services Section */
.services-section {
    background-color: var(--surface-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 56, 147, 0.5);
    /* Blue border */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--surface-glow-b);
}

.service-card .icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(206, 17, 38, 0.2));
    /* Red shadow */
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    opacity: 0.75;
    font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
    background-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay span {
    color: var(--col-yellow);
    background: linear-gradient(135deg, var(--col-yellow), var(--col-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Grid layout spans */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Footer */
footer {
    padding: 80px 50px 40px;
    background-color: rgba(12, 12, 16, 0.9);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 600;
}

.footer-logo span {
    color: var(--col-red);
}

.footer-content p {
    opacity: 0.5;
    font-size: 0.95rem;
}

.socials a {
    margin-left: 25px;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.socials a:hover {
    opacity: 1;
    color: var(--col-blue);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: rgba(18, 18, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 50px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    position: relative;
    border-top: 4px solid var(--col-red);
    /* Red tip */
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: var(--col-yellow);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.modal-content p {
    opacity: 0.7;
    margin-bottom: 35px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--col-blue);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px var(--surface-glow-b);
}

.form-group select option {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(90deg, var(--col-yellow) 0%, var(--col-blue) 50%, var(--col-red) 100%);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #eac213 0%, #002c73 50%, #a80e1f 100%);
    box-shadow: 0 5px 20px rgba(0, 56, 147, 0.4);
    transform: translateY(-2px);
}

/* Service Link Additions */
.view-gallery-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--col-yellow);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.view-gallery-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        gap: 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .navbar.scrolled {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 24, 0.98);
        backdrop-filter: blur(20px);
        padding: 30px 0;
        text-align: center;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    section {
        padding: 80px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .socials a {
        margin: 0 15px;
    }
}