/**
 * Suncoast Visuals - Main Stylesheet
 * Fine-art photography website design
 * Brand colors: #F9F6F0 (Warm White), #1A1A1A (Charcoal), #FFC857 (Amber Glow), #3B4D63 (Steel Blue)
 */

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1A1A1A;
    background-color: #F9F6F0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.3s ease;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tagline {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: #5E5E5E;
}

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

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFC857, #3B4D63);
}

/* ========================================
   Layout & Container
   ======================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
    background-color: rgba(249, 246, 240, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(26, 26, 26, 0.06);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-text .tagline {
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Main Navigation */
.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav ul ul {
    display: block;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFC857;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 40px rgba(26, 26, 26, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    display: block;
    list-style: none;
    border: 1px solid rgba(26, 26, 26, 0.08);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin: 0;
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #1A1A1A;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown a::after {
    display: none;
}

.dropdown a:hover {
    background: linear-gradient(90deg, rgba(255, 200, 87, 0.12), rgba(255, 200, 87, 0.05));
    color: #1A1A1A;
    border-left-color: #FFC857;
    padding-left: 1.75rem;
}

.dropdown li:not(:last-child) {
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1A1A1A;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #3B4D63 0%, #1A1A1A 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #F9F6F0;
    max-width: 900px;
}

.hero h1 {
    color: #F9F6F0;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
    font-size: 1.75rem;
    color: #FFC857;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(249, 246, 240, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #FFC857;
    color: #1A1A1A;
    border: 2px solid #FFC857;
}

.btn-primary:hover {
    background: transparent;
    color: #FFC857;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 200, 87, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #F9F6F0;
    border: 2px solid #F9F6F0;
}

.btn-secondary:hover {
    background: #F9F6F0;
    color: #1A1A1A;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
}

.btn-outline:hover {
    background: #1A1A1A;
    color: #F9F6F0;
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Grid Layouts
   ======================================== */

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #3B4D63;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-description {
    color: #5E5E5E;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.card-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

.card-meta {
    font-size: 0.9rem;
    color: #5E5E5E;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   Gallery Grid
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #3B4D63;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: #F9F6F0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.gallery-overlay h3 {
    color: #F9F6F0;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(249, 246, 240, 0.8);
    margin: 0;
}

/* ========================================
   Services Section
   ======================================== */

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.12);
}

.service-card:hover .service-icon {
    border-color: #FFC857;
    color: #FFC857;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: transparent;
    border: 2px solid #3B4D63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #3B4D63;
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #5E5E5E;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.service-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #FFC857;
    margin-bottom: 1.5rem;
    display: block;
}

/* Services Detail Layout */
.services-detail {
    padding: 6rem 0;
}

.service-detail-item {
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.service-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    line-height: 1.2;
}

.service-detail-item .order-1 {
    order: 1;
}

.service-detail-item .order-2 {
    order: 2;
}

/* Responsive adjustments for service detail */
@media (max-width: 768px) {
    .service-detail-item .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .service-detail-item .order-1,
    .service-detail-item .order-2 {
        order: unset !important;
    }
    
    .service-detail-title {
        font-size: 2rem;
    }
}

/* Service Detail Default Content - Simple styling to match services page */
.service-detail-content {
    padding: 2rem 0;
}

/* Mobile adjustments for service detail default content */
@media (max-width: 768px) {
    .service-detail-info .service-detail-title {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .service-detail-info p {
        text-align: center;
    }
    
    .service-detail-info > div:last-child {
        justify-content: center;
    }
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: #1A1A1A;
    color: #F9F6F0;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #FFC857;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(249, 246, 240, 0.8);
    line-height: 2;
}

.footer-section a:hover {
    color: #FFC857;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 200, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFC857;
    color: #1A1A1A;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 246, 240, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(249, 246, 240, 0.6);
}

/* ========================================
   Forms
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(26, 26, 26, 0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #FFC857;
    box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.1);
}

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

/* ========================================
   Flash Messages
   ======================================== */

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #F9F6F0;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #FFC857;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #F9F6F0;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    color: #FFC857;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    section { padding: 3rem 0; }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero { height: 70vh; min-height: 500px; }
    .hero-content { padding: 0 2rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero .tagline { font-size: 1.25rem; }
    
    .mobile-menu-toggle { display: flex; }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 8px 30px rgba(26, 26, 26, 0.12);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 600px;
    }
    
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .main-nav > ul > li {
        width: 100%;
    }
    
    .main-nav > ul > li > a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.active .dropdown {
        max-height: 500px;
    }
    
    .dropdown li {
        border-bottom: 1px solid rgba(26, 26, 26, 0.05);
        list-style: none;
        margin: 0;
    }
    
    .dropdown a {
        display: block;
        width: 100%;
        padding: 0.875rem 2rem 0.875rem 3rem;
        background: rgba(255, 200, 87, 0.03);
        border-left: none;
        font-size: 0.9rem;
    }
    
    .dropdown a:hover {
        background: rgba(255, 200, 87, 0.08);
        padding-left: 3rem;
        border-left: none;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-content { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero .tagline { font-size: 1.1rem; }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
    
    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem;
    }
    
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
    .lightbox-close { top: 1rem; right: 1rem; font-size: 2rem; }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

.pt-4 { padding-top: 3rem; }
.pb-4 { padding-bottom: 3rem; }

.bg-dark {
    background: #1A1A1A;
    color: #F9F6F0;
}

/* Section titles on dark background */
.bg-dark .section-title h2 {
    color: #F9F6F0 !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bg-dark .section-title p,
.bg-dark .section-title .tagline {
    color: rgba(249, 246, 240, 0.8) !important;
    font-size: 1.25rem;
}

/* Service cards on dark background */
.bg-dark .service-card {
    background: rgba(59, 77, 99, 0.1);
    border: 1px solid rgba(249, 246, 240, 0.1);
}

.bg-dark .service-card:hover {
    background: rgba(59, 77, 99, 0.2);
    border-color: rgba(255, 200, 87, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.bg-dark .service-card h3 {
    color: #F9F6F0 !important;
}

.bg-dark .service-card p {
    color: rgba(249, 246, 240, 0.8) !important;
}

.bg-dark .service-icon {
    border-color: rgba(249, 246, 240, 0.3);
    color: #FFC857;
}

.bg-dark .service-card:hover .service-icon {
    border-color: #FFC857;
    color: #FFC857;
}

.bg-light {
    background: #ffffff;
}

.accent-color { color: #FFC857; }

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FFC857;
    color: #1A1A1A;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 200, 87, 0.3);
    z-index: 1000;
}

.back-to-top:hover {
    background: #3B4D63;
    color: #F9F6F0;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 77, 99, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

