/* Custom styles for I Candy Esthetics */

/* Base styles */
body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* Ensure proper font loading */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/cormorantgaramond/v18/u-4m0qWriiU_Dd3KSKqMvXIUUzs6ZAg.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/cormorantgaramond/v18/u-4k0qWriiU_Dd3KSKqMvXI6azM.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/cormorantgaramond/v18/u-4l0qWriiU_Dd3KSKqM_XgUfTgSZA.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/cormorantgaramond/v18/u-4l0qWriiU_Dd3KSKqM_XgUfTgSZA.woff2') format('woff2');
}

/* Selection color */
::selection {
    background-color: #166534;
    color: #fefdf8;
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.3s ease;
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(22, 101, 52, 0.08);
}

/* Mobile menu links */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    color: #166534;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #22c55e;
}

/* Hero section specific adjustments */
#hero h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Service card image hover */
.service-card img {
    transition: transform 0.5s ease;
}

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

/* Gallery hover overlay */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 101, 52, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(22, 101, 52, 0.1);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #166534 !important;
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    .reveal {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
