Files

313 lines
6.0 KiB
CSS

:root {
--primary-red: #E31E24;
--dark-grey: #1a1a1a;
--grey-text: #666;
--light-grey: #f4f4f4;
--white: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: var(--dark-grey);
background-color: var(--white);
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
/* Hero Section */
.hero {
padding: 80px 0;
text-align: center;
background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?q=80&w=2000') center/cover;
}
.main-logo {
width: 180px;
margin-bottom: 25px;
}
h1 {
font-size: 3rem;
font-weight: 900;
margin-bottom: 15px;
line-height: 1.1;
}
.sub-headline {
font-size: 1.1rem;
max-width: 650px;
margin: 0 auto 35px;
color: #444;
}
/* Universal Button Styles */
.cta-buttons {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.hero .cta-buttons {
justify-content: center;
}
.btn {
padding: 14px 28px;
text-decoration: none;
font-weight: 700;
border-radius: 6px;
transition: all 0.3s ease;
display: inline-block;
font-size: 0.95rem;
}
.btn-red { background: var(--primary-red); color: white; }
.btn-red:hover { background: #c1171c; transform: translateY(-2px); }
.btn-dark { background: var(--dark-grey); color: white; }
.btn-dark:hover { background: #333; transform: translateY(-2px); }
.btn-dark-outline {
background: var(--dark-grey);
color: white;
}
.btn-dark-outline:hover {
background: var(--primary-red);
}
/* Services Section */
.services {
padding: 70px 0;
background: var(--light-grey);
}
.service-card {
background: white;
padding: 40px;
border-radius: 12px;
border-top: 6px solid var(--primary-red);
text-align: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.service-card h2 { margin-bottom: 10px; font-size: 1.4rem; }
.icons { font-size: 2.5rem; margin: 15px 0; }
/* Contact & Maps Section */
.contact-info { padding: 80px 0; }
.map-box h2 {
font-size: 1.4rem;
margin-bottom: 15px;
font-weight: 700;
}
.contact-details {
margin-top: 60px;
}
.contact-details h3 {
font-size: 1.8rem;
font-weight: 900;
margin-bottom: 25px;
}
.contact-row {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.contact-item {
flex: 1;
min-width: 320px;
display: flex;
align-items: center;
background: var(--light-grey);
padding: 25px;
border-radius: 12px;
border-left: 6px solid var(--primary-red);
}
.contact-item .icon {
font-size: 2.2rem;
margin-right: 20px;
}
.label {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 900;
color: var(--grey-text);
margin-bottom: 5px;
}
/* Hide translatable elements until the script runs */
.lang {
opacity: 0;
transition: opacity 0.2s ease-in;
}
/* This class will be added by JS once the language is set */
.lang-loaded {
opacity: 1;
}
.lang-switcher {
position: absolute;
top: 20px;
right: 20px;
display: flex;
gap: 10px;
z-index: 1001;
}
.lang-btn {
background: rgba(0,0,0,0.5);
border: 1px solid #fff;
color: white;
padding: 5px 10px;
cursor: pointer;
font-weight: bold;
border-radius: 4px;
transition: 0.3s;
}
.lang-btn.active {
background: var(--primary-red);
border-color: var(--primary-red);
}
.lang-btn:hover {
background: var(--primary-red);
}
/* Footer */
footer {
text-align: center;
padding: 30px;
background: var(--dark-grey);
color: #999;
font-size: 0.85rem;
}
/* Responsive Design */
@media (max-width: 850px) {
.grid { grid-template-columns: 1fr; }
.contact-row { flex-direction: column; }
.contact-item { width: 100%; }
h1 { font-size: 2.2rem; }
.hero .cta-buttons { flex-direction: column; align-items: center; }
.btn { width: 100%; text-align: center; }
}
/* MODAL STYLES */
/* Styling the phone buttons inside the modal */
.modal-phone-grid {
display: flex;
flex-direction: column;
gap: 15px;
margin: 25px 0;
}
.modal-phone-grid .btn {
width: 100%;
text-align: center;
font-size: 1.1rem;
padding: 15px;
}
/* A clean button that looks like a link for the "Close" action */
.btn-link {
background: none;
border: none;
color: #888;
font-weight: 700;
cursor: pointer;
text-decoration: underline;
margin-top: 10px;
}
.btn-link:hover {
color: var(--primary-red);
}
/* Ensure the modal overlay covers the screen professionally */
.modal-overlay {
display: none; /* Changed to flex by JavaScript when opened */
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(4px);
/* These two only work when display is flex */
align-items: center;
justify-content: center;
}
/* The 'X' in the corner of the modal */
.close-icon {
position: absolute;
top: 15px;
right: 20px;
font-size: 28px;
font-weight: bold;
color: #888;
cursor: pointer;
line-height: 1;
transition: color 0.2s ease;
}
.close-icon:hover {
color: var(--primary-red); /* Highlights red when you hover to close */
}
/* The container for the content inside the white box */
.modal-body {
padding: 10px 0;
text-align: center;
}
/* If the text is sitting directly on the dark overlay */
.modal-body h2 {
font-size: 1.8rem;
font-weight: 900;
margin-bottom: 10px;
text-transform: uppercase;
color: #ffffff; /* Brighter white for the title */
letter-spacing: 1px;
}
.modal-body p {
font-size: 1.1rem;
color: #e0e0e0; /* Brighter light grey for the description */
margin-bottom: 25px;
font-weight: 400;
}
/* Optional: Add a slight glow to the title to make it pop */
.modal-body h2 {
text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}