/* Pygmalion Services - Professional Corporate Styling */

:root {
    --primary-color: #830000;
    --secondary-color: #2c0000;
    --accent-color: #d4a574;
    --text-color: #333333;
    --bg-light: #f5f5f5;
    --border-color: #dddddd;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0 3rem 0;
    margin-bottom: 0;
    margin-top: 56px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.hero-logo {
    height: 180px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

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

/* Compact Layout Container */
.compact-container {
    padding: 0;
}

/* Services Section */
.services {
    background: white;
    padding: 2rem 0;
}

.services h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.service-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.service-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--bg-light) 0%, white 100%);
    padding: 3rem 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.about h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about p {
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about .lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact {
    background: white;
    padding: 2rem 0;
}

.contact h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Alert Messages */
.alert {
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.alert.show {
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer .made-by {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer .made-by a {
    color: var(--accent-color);
    font-weight: 600;
}

.footer .made-by a:hover {
    color: white;
    text-decoration: none;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul.list-unstyled li a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.footer ul.list-unstyled li a:hover {
    color: var(--accent-color);
}

/* Contact Information Styling */
.contact-info-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info-box .email-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.contact-info-box .email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}

.contact-info-box .email-link i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.contact-info-box .phone-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.contact-info-box .phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}

.contact-info-box .phone-link i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-info-box .phone-link {
        margin-left: 0;
        display: block;
        margin-top: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

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

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* No White Space Waste */
section {
    margin-bottom: 0;
}

.row {
    margin-bottom: 0;
}
