/* ===== Custom Styles for Five Stars Gutters ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fffdf7;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 253, 247, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(4, 120, 87, 0.1);
}

.navbar-scrolled .nav-link {
    color: #064e3b !important;
}

.navbar-scrolled .logo-text {
    color: #064e3b !important;
}

.navbar-scrolled .logo-sub {
    color: #047857 !important;
}

/* Mobile menu animation */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Hamburger animation */
.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery animations */
.gallery-item {
    cursor: pointer;
}

/* CTA Button hover */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Geometric pattern overlay for hero */
.hero-pattern {
    background-image: 
        linear-gradient(135deg, rgba(4, 120, 87, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(4, 120, 87, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(4, 120, 87, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(4, 120, 87, 0.03) 25%, transparent 25%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: 2.5rem !important;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .cta-button {
        display: none;
    }
}
