/* Base page styling */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 1200px;
    padding: 120px 20px 80px;
    animation: fadeInUp 1s ease-out;
}

.logo {
    max-width: 800px; 
    width: 95%;        
    margin-bottom: 50px;
    filter: drop-shadow(0 0 30px rgba(255, 204, 0, 0.5));
    transition: transform 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logo:hover {
    transform: scale(1.03);
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    color: #aaaaaa;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Section Divider */
main::before {
    content: "";
    display: block;
    width: 150px;
    height: 4px;
    background: #ffcc00;
    margin: 0 auto 60px;
    border-radius: 2px;
    box-shadow: 0 0 10px #ffcc00;
}

/* Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    width: 90%;
    margin: 0 auto 60px;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.service-box {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
    cursor: pointer;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffcc00;
    transform: translateY(-10px);
}

.service-box h3 {
    color: #ffcc00;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Gallery Grid - Updated for Uniform Square Items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto 60px;
    animation: fadeInUp 1s ease-out;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;    /* Forces perfect square shape */
    object-fit: cover;      /* Smart crop to center images */
    display: block;         /* Removes ghost spacing issues */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
    border-color: #ffcc00;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    margin: 0 auto 60px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.contact-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 25px;
}

.contact-section label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #cccccc;
}

.contact-section input, 
.contact-section textarea, 
.contact-section input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.contact-section input[type="file"] {
    background: transparent;
    padding: 10px 0;
    border: none;
}

.btn {
    background-color: #ffcc00;
    color: #000;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn:hover {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}

/* Footer */
footer {
    padding: 60px;
    text-align: center;
}

.social-links a {
    color: #ffcc00;
    margin: 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}