/* Essential styles for Siblings Software static site */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    background: #20232a;
    padding: 1rem 0;
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #fff !important;
}

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

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

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

/* Page Title Section */
section.page-title {
    padding-top: 8em;
    padding-bottom: 0;
    text-align: center;
    background: #fff;
}

@media (min-width: 767px) {
    section.page-title {
        padding-top: 9em;
        padding-bottom: 0;
    }
}

section.page-title h1 {
    color: #1c1e21;
    font-size: 1.7em;
    margin-top: 1.7em;
    text-transform: none;
}

.page-title-description {
    margin-bottom: 0;
    text-align: center;
    line-height: 27px;
    font-size: 1.3em;
    font-weight: normal;
    margin-top: 2.4em;
}

/* Button Styles */
.contenedor-btn-default {
    margin-top: 3em;
    text-align: center;
}

.btn-default {
    background: transparent;
    border: #575756 solid 2px;
    padding: 14px 20px;
    color: #1c1e21 !important;
    font-size: 18pt;
    border-radius: 2em;
    text-decoration: none !important;
    display: inline-block;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-default:focus,
.btn-default:hover {
    background: #f8f9fa;
    border-color: #6c757d;
    color: #1c1e21 !important;
}

.falso-btn-default {
    background: #f1a820;
    border: #f1a820;
    padding: 14px 20px;
    color: #fff !important;
    font-size: 18pt;
    border-radius: 2em;
    text-decoration: none !important;
    cursor: pointer;
    display: inline-block;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.falso-btn-default:focus,
.falso-btn-default:hover {
    background: #d4961a;
    border-color: #d4961a;
    color: #fff !important;
}

/* Typography Classes */
.falso-h2 {
    margin-top: 0em;
    margin-bottom: 1.7em;
    font-size: 1.5em;
    font-weight: bold;
    color: #313335;
    text-align: center;
}

@media (min-width: 771px) {
    .falso-h2 {
        font-size: 1.8em;
    }
}

.falso-h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 1.3em;
    color: #111;
    text-align: center;
    font-weight: bold;
}

@media (min-width: 771px) {
    .falso-h3 {
        font-size: 1.4em;
    }
}

.cursiva {
    font-style: italic;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 2em;
}

/* Services Section */
.services-section {
    background: #f2f2f2;
    padding-bottom: 5em;
}

.services-section .container {
    padding-top: 3em;
}

/* Contact Section */
.page-section-contacto {
    background: #f4f4f4;
    padding: 5em 0;
}

/* Footer */
.site-footer {
    background: #20232a;
    color: #fff;
    padding: 3em 0 2em 0;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #F95C01;
    text-decoration: underline;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-12 {
    padding: 0 15px;
    flex: 0 0 auto;
}

.col-md-3 { width: 25%; }
.col-md-4 { width: 33.333333%; }
.col-md-5 { width: 41.666667%; }
.col-md-6 { width: 50%; }
.col-md-7 { width: 58.333333%; }
.col-md-8 { width: 66.666667%; }
.col-md-12 { width: 100%; }

@media (max-width: 768px) {
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-12 {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Links */
a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #f1a820;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section.page-title {
        padding-top: 6em;
    }
    
    .page-title-description {
        font-size: 1.1em;
        margin-top: 1.5em;
    }
    
    .btn-default,
    .falso-btn-default {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
    
    .falso-h2 {
        font-size: 1.3em;
    }
    
    .falso-h3 {
        font-size: 1.1em;
    }
}

/* Ensure proper spacing */
section {
    margin: 0;
    padding: 0;
}

/* Service section link styling */
.services-section a,
.services-section a:visited,
.services-section a:link {
    color: #333 !important;
    text-decoration: none !important;
}

.services-section a:hover {
    color: #f1a820 !important;
    text-decoration: none !important;
}

/* Fix for the hero section spacing */
.page-title p:first-child {
    margin-bottom: 0;
}

/* Ensure buttons are properly spaced */
.contenedor-btn-default a {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .contenedor-btn-default {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contenedor-btn-default a {
        margin: 0;
        display: inline-block;
        min-width: 200px;
    }
}

/* Card styles */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Icon styling */
.fas {
    color: #333;
}

