/* 
   Cementos y Acabados MX - Global Styles
   Estilo: Corporativo, Premium, Minimalista
*/

:root {
    --primary-blue: #640101;
    --secondary-blue: #bb2020;
    --primary-orange: #F26A21;
    --hover-orange: #E85A0C;
    --steel-gray: #6B7280;
    --light-gray: #E5E7EB;
    --white-smoke: #F8F9FA;
    --white: #FFFFFF;
    --charcoal: #a40505;
    --font-main: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--white-smoke);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: var(--primary-blue);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-orange);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary-orange);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(13, 43, 69, 0.7), rgba(13, 43, 69, 0.7)), url('../assets/img/hero_banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    border: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
}

/* Sections */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
