/* Main Styles for domain
------------------------------------------*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #212121; /* Deep Gray as specified */
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #3F51B5; /* Ultramarine Blue as specified */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #CDDC39; /* Lime Green as specified */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #3F51B5; /* Ultramarine Blue as specified */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #FF7043; /* Coral as specified */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f45c2c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #3F51B5 0%, #7986CB 100%);
    padding: 10px 0;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.logo a:hover .logo-text {
    color: #CDDC39;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    padding: 0;
    position: relative;
    z-index: 1010;
}

.menu-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover {
    color: #CDDC39;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #CDDC39;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.contact-info {
    margin-left: 30px;
    text-align: right;
}

.contact-info p {
    margin: 0;
}

.phone {
    font-weight: bold;
    font-size: 1.1em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3F51B5 0%, #7986CB 100%);
    color: white;
    padding: 120px 0 60px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Section scroll offset fix */
section {
    scroll-margin-top: 100px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: #CDDC39; /* Lime Green as specified */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 0 0 50%;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8EAF6 0%, #C5CAE9 100%);
}

.features-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.features-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.features-intro {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-box {
    flex: 0 0 calc(33.33% - 30px);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8EAF6;
    border-radius: 50%;
    color: #3F51B5;
    font-size: 2rem;
}

.feature-box h3 {
    text-align: center;
    margin-bottom: 15px;
}

.feature-box p {
    text-align: center;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 0 0 calc(33.33% - 30px);
    background: linear-gradient(135deg, #E8EAF6 0%, #C5CAE9 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 10px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF7043; /* Coral as specified */
    margin: 15px 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #3F51B5 0%, #7986CB 100%);
    color: white;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 0 0 calc(33.33% - 30px);
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    color: #212121;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-details h4 {
    margin: 0;
    font-size: 1rem;
}

.author-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #757575;
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #E8EAF6 0%, #C5CAE9 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #3F51B5;
    outline: none;
}

select.form-control {
    background-color: white;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-label input {
    margin-right: 10px;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

/* Footer Styles */
.main-footer {
    background-color: #303F9F;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-content h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #E8EAF6;
}

.footer-links a:hover {
    color: #CDDC39;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity 1s ease;
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 10px 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons button {
    background-color: #CDDC39;
    color: #212121;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-buttons a {
    color: #CDDC39;
    text-decoration: underline;
    align-self: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(63, 81, 181, 0.95);
        flex-direction: column;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: none; /* Remove transition for PHP solution */
        padding: 50px 20px;
    }
    
    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .main-nav {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .main-nav li {
        margin-left: 0;
        text-align: center;
    }
    
    .main-nav a {
        font-size: 24px;
        padding: 10px;
        display: block;
    }
    
    .contact-info {
        margin-left: 0;
        text-align: center;
    }
    
    .contact-info .phone {
        font-size: 20px;
    }
    
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .feature-box,
    .service-card,
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .footer-about,
    .footer-contact,
    .footer-links {
        flex: 0 0 100%;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 8px 0;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav li {
        margin-left: 0;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
} 

/* Additional mobile optimizations for very small screens */
@media (max-width: 400px) {
    .main-header {
        padding: 6px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .contact-info-mobile {
        margin-right: 10px;
    }
    
    .contact-info-mobile .phone {
        font-size: 0.8rem;
    }
    
    .menu-toggle {
        width: 25px;
        height: 25px;
    }
    
    .menu-bar {
        height: 2px;
        margin: 4px 0;
    }
    
    .header-right {
        width: 85%;
        padding-top: 70px;
    }
    
    .main-nav a {
        font-size: 16px;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 70px;
    }
} 