/* CSS Variables for Theme Colors */
:root {
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --mid-grey: #333333;
    --light-grey: #cccccc;
    --white: #ffffff;
    --red: #d90429;
    --dark-red: #ef233c;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--light-grey);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--white);
    text-transform: uppercase;
}

span.text-red {
    color: var(--red);
}

/* Navigation */
header {
    background-color: var(--black);
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--red);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--red);
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)), url('../images/goa_finish.jpeg?q=80&w=1470&auto=format&fit=crop') center/cover;
    padding: 0 5%;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--light-grey);
}

.btn {
    padding: 15px 30px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: var(--dark-red);
}

/* Common Section Styles */
.section-padding {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

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

.sub-section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
}

figure {
    text-align: center;
    position: relative;
}

figcaption {
    font-size: 15px;
    color: var(--red);
    margin-top: 8px;
}

/* About Section */
#about {
    background-color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    background-color: var(--mid-grey);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--red);
}

/* Philosophy Section */
#philosophy {
    background-color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: 4rem;
}

.philosophy-content {
    flex: 1;
}
.philosophy-image {
    flex: 1;
    background-color: var(--black);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--red);
}

.philosophy-card h3 {
    margin-bottom: 0.5rem;
    align-items: center;
    text-align: center;
}

/* Blogs Section */
#blogs {
    background-color: var(--dark-grey);
}

.blog-card {
    background-color: var(--black);
    padding: 1.5rem;
    border-left: 4px solid var(--red);
}

.blog-card h3 {
    margin-bottom: 0.5rem;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--red);
    margin-bottom: 1rem;
    display: block;
}

/* Contact Section */
#contact {
    background-color: var(--black);
    text-align: center;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-grey);
    border: 1px solid var(--mid-grey);
    color: var(--white);
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--red);
}

textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--mid-grey);
}

/* Responsive Design */
@media (max-width: 768px) {
    #about {
        flex-direction: column;
    }
    nav ul {
        display: none; /* In a real build, you'd add a hamburger menu here */
    }
    #hero h1 {
        font-size: 2.5rem;
    }
}
