/* Global Styles */
:root {
    --primary-color: #ffc107;
    --secondary-color: #ffca2c;
    --success-color: #28a745;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    --gradient-secondary: linear-gradient(135deg, #ffca2c 0%, #ffd54f 100%);
    --shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
    --shadow-hover: 0 15px 40px rgba(255, 193, 7, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Navigation */
.navbar {
    background: rgba(255, 193, 7, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-toggler {
    border-color: rgba(52, 58, 64, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.25);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #343a40 !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(52, 58, 64, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #343a40 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #343a40;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-graphic {
    position: relative;
    z-index: 2;
}

.hero-graphic i {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
    color: #343a40;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
}

/* Services Snapshot */
.services-snapshot {
    background: white;
}

.service-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.service-icon i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #343a40;
}

.service-card h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--light-color);
}

.feature-item {
    padding: 1rem;
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.feature-icon i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #343a40;
    border-radius: 50%;
}

.stat-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #343a40;
}

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

.owner-photo-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-frame {
    width: 300px;
    height: 350px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #343a40;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    padding: 2rem 1rem;
}

.photo-frame:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
}

.owner-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.photo-frame i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #343a40;
}

.values-list .value-item {
    padding: 0.5rem 0;
}

.values-list .value-item i {
    width: 30px;
    text-align: center;
    color: #343a40;
}

/* Services Section */
.service-card-detailed {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-header i {
    font-size: 2rem;
    margin-right: 1rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #343a40;
    border-radius: 50%;
}

.service-header h4 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

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

.service-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-item {
    padding: 1rem;
    border-radius: 10px;
    background: var(--light-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
    transform: translateX(10px);
}

.contact-icon i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #343a40;
    border-radius: 50%;
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffc107 !important;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-graphic i {
        font-size: 4rem;
    }
    
    .photo-frame {
        width: 250px;
        height: 300px;
    }
    
    .owner-photo {
        width: 150px;
        height: 150px;
    }
    
    .photo-frame i {
        font-size: 2.5rem;
    }
    
    .service-card-detailed {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card-detailed {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .photo-frame {
        width: 200px;
        height: 250px;
    }
    
    .owner-photo {
        width: 120px;
        height: 120px;
    }
}

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

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Button Hover Effects */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    position: relative;
    overflow: hidden;
    color: #343a40;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

/* Card Hover Effects */
.service-card,
.service-card-detailed,
.stat-card,
.feature-item {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.service-card-detailed::before,
.stat-card::before,
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: all 0.5s ease;
}

.service-card:hover::before,
.service-card-detailed:hover::before,
.stat-card:hover::before,
.feature-item:hover::before {
    left: 100%;
}
