/* Custom CSS for Stonefield Website */

:root {
    --primary-color: #0066cc;
    --secondary-color: #00b4d8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --font-family: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    transition: background-color 0.3s ease;
    padding: 1rem 0;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section Main */
.hero-section-main {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-section-main .container {
    position: relative;
    z-index: 2;
}

.hero-logo-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.stonefield-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo {
    max-width: 100%;
    height: auto;
}

.hero-company-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

/* Certifications Section */
.certifications-section {
    padding: 2rem 0;
}

.cert-badge {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.cert-badge i {
    font-size: 2rem;
    margin-right: 1rem;
}

.cert-text {
    text-align: center;
    line-height: 1.2;
}

.cert-text small {
    font-size: 0.8rem;
    color: #666;
}

.cert-text strong {
    font-size: 1rem;
    color: var(--primary-color);
}

/* Main Content Section */
.main-content {
    padding: 4rem 0;
}

.main-content .content-box {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantages-section {
    margin: 2rem 0;
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.advantages-list li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Hygiene Section */
.hygiene-section {
    padding: 4rem 0;
}

.hygiene-icon {
    margin-bottom: 2rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 0.9rem;
}

.services-list li i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.services-image {
    padding: 2rem;
}

/* Final Section */
.final-section {
    padding: 4rem 0;
}

.cert-badges .badge {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.final-image {
    padding: 2rem;
}

/* Footer Main */
.footer-main {
    padding: 4rem 0;
    background: var(--primary-color) !important;
    color: white;
}

.footer-contact {
    text-align: left;
    color: white;
}

.footer-contact h4, .footer-contact h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.4;
    color: white;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
    color: white;
}

.footer-links a:hover {
    opacity: 0.8;
    color: white;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-hours {
    text-align: left;
    color: white;
}

.footer-hours h4, .footer-hours h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hours-info p {
    font-size: 1rem;
    line-height: 1.4;
    color: white;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    margin-bottom: 0;
    background-color: var(--primary-color);
    color: white;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Service Content */
.service-content {
    padding: 4rem 0;
    background-color: #fff;
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-content .lead {
    color: #555;
    margin-bottom: 2rem;
}

/* Step Numbers */
.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.feature-list {
    padding: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.certifications {
    margin-top: 2rem;
}

.certifications .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #0098b8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Image Cards */
.image-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-card h3 {
    margin-top: 1rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-logo {
        height: 30px;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .hero-company-title {
        font-size: 1.4rem;
    }
    
    .hero-logo-section {
        padding: 2rem 1rem;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .main-content .row {
        flex-direction: column;
    }
    
    .main-content .col-lg-4 {
        width: 100%;
    }
    
    .cert-badge {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .cert-badge i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    /* Footer responsive */
    .footer-main .row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact,
    .footer-hours {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .logo-circle-footer {
        width: 120px;
        height: 120px;
        margin-bottom: 2rem;
    }
    
    .logo-text-footer {
        font-size: 4rem;
    }
    
    .social-icons {
        justify-content: center;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .image-card img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 25px;
    }
    
    .hero-logo {
        width: 180px;
    }
    
    .footer-logo img {
        max-width: 120px;
    }
    
    .hero-section-main {
        height: 60vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-section .row {
        flex-direction: column-reverse;
    }
    
    .final-section .row {
        flex-direction: column;
    }
    
    /* Footer mobile */
    .footer-main {
        padding: 3rem 0;
    }
    
    .footer-contact h4,
    .footer-hours h4 {
        font-size: 1.3rem;
    }
    
    .logo-circle-footer {
        width: 100px;
        height: 100px;
    }
    
    .logo-text-footer {
        font-size: 3.5rem;
    }
} 

.footer-main a {
    color: white;
    text-decoration: none;
}

.footer-main a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
} 

/* Service Pages */
.service-hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-description h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.service-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.other-services ul li {
    margin-bottom: 0.5rem;
}

.other-services ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.other-services ul li a:hover {
    color: var(--secondary-color);
}

@media (max-width: 991px) {
    .service-sidebar {
        position: static;
        margin-top: 2rem;
    }
} 

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: white !important;
}

.navbar-brand {
    z-index: 1050;
    position: relative;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

/* Mobile Menu Styles */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 25px;
    right: 20px;
    transition: .3s ease-in-out;
    outline: none !important;
    box-shadow: none !important;
    z-index: 1050;
    display: none;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .hamburger-icon {
    width: 30px;
    height: 2px;
    background: #333;
    position: absolute;
    left: 0;
    transition: .3s ease-in-out;
}

.navbar-toggler .hamburger-icon:nth-child(1) {
    top: 0;
}

.navbar-toggler .hamburger-icon:nth-child(2) {
    top: 9px;
}

.navbar-toggler .hamburger-icon:nth-child(3) {
    top: 18px;
}

.navbar-toggler.active .hamburger-icon {
    display: none;
}

@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar-brand {
        z-index: 1050;
        position: relative;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 1045;
    }

    .navbar-collapse.show {
        right: 0;
    }

    /* Close button styles */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1051;
        display: none;
    }

    .navbar-collapse.show .mobile-menu-close {
        display: block;
    }

    .mobile-menu-close::before,
    .mobile-menu-close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: 0.3s;
    }

    .mobile-menu-close::before {
        transform: rotate(45deg);
    }

    .mobile-menu-close::after {
        transform: rotate(-45deg);
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 15px;
        border-radius: 5px;
        transition: 0.3s;
    }

    .navbar-nav .nav-link:hover {
        background: #f8f9fa;
    }

    .dropdown-menu {
        border: none;
        background: #f8f9fa;
        padding: 10px 0;
        margin-top: 5px;
        border-radius: 5px;
        box-shadow: none;
        position: static !important;
        transform: none !important;
    }

    .dropdown-item {
        padding: 8px 25px;
        color: #333;
        transition: 0.3s;
    }

    .dropdown-item:hover {
        background: #e9ecef;
    }

    .btn-success {
        width: 100%;
        margin: 10px 0;
    }
}

/* Overlay for mobile menu */
.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    transition: 0.3s;
}

.navbar-overlay.show {
    display: block;
    opacity: 1;
} 