/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

/* BODY */

body{
background:#f5f5f5;
color:#333;
line-height:1.6;
}

/* HEADER */

.topbar{
background:#000;
color:white;
text-align:center;
padding:25px;
}

.topbar h1{
font-size:24px;
margin-bottom:10px;
}

.topbar p{
font-size:18px;
}

/* NAVIGATION */

nav{
background:#111;
position:relative;
z-index:9999;
}

nav ul{
list-style:none;
display:flex;
justify-content:center;
flex-wrap:wrap;
}

/* MENU COLORS */

nav ul li{
position:relative;
}

nav ul li:nth-child(1){
background:#e53935;
}

nav ul li:nth-child(2){
background:#8e24aa;
}

nav ul li:nth-child(3){
background:#3949ab;
}

nav ul li:nth-child(4){
background:#00897b;
}

nav ul li:nth-child(5){
background:#fb8c00;
}

nav ul li:nth-child(6){
background:#43a047;
}

nav ul li:nth-child(7){
background:#000;
}

nav ul li a{
display:block;
padding:16px 24px;
color:white;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

nav ul li:hover{
opacity:0.9;
}

/* DROPDOWN */

.dropdown-content{
display:none;
position:absolute;
top:100%;
left:0;
background:white;
min-width:230px;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
border-radius:0 0 10px 10px;
overflow:hidden;
z-index:99999;
}

.dropdown-content a{
display:block;
padding:14px 18px;
color:#333;
background:white;
text-decoration:none;
transition:0.3s;
}

.dropdown-content a:hover{
background:#f1f1f1;
padding-left:28px;
}

nav ul li.dropdown:hover .dropdown-content{
display:block;
}

/* SLIDER */

.slider{
position:relative;
overflow:hidden;
width:100%;
height:600px;
background:black;
}

.slides{
display:none;
position:relative;
width:100%;
height:100%;
}

.slides img{
width:100%;
height:600px;
object-fit:cover;
display:block;
}

/* CAPTION */

.caption{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
background:rgba(0,0,0,0.7);
padding:35px;
border-radius:12px;
text-align:center;
color:white;
width:80%;
max-width:700px;
}

.caption h2{
font-size:48px;
margin-bottom:15px;
}

.caption p{
font-size:22px;
margin-bottom:20px;
}

.btn{
display:inline-block;
background:#ffeb3b;
color:black;
padding:14px 30px;
text-decoration:none;
border-radius:50px;
font-weight:bold;
transition:0.3s;
}

.btn:hover{
background:white;
transform:scale(1.05);
}

/* SECTION */

.section{
padding:70px 20px;
text-align:center;
background:white;
}

.gray{
background:#f0f0f0;
}

.section h2{
font-size:38px;
margin-bottom:20px;
color:#222;
}

.section p{
max-width:1000px;
margin:auto;
font-size:18px;
}

/* CARDS */

.cards{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-top:40px;
}

.card{
width:300px;
padding:30px;
border-radius:15px;
color:white;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
transition:0.3s;
}

.card:hover{
transform:translateY(-10px);
}

.card:nth-child(1){
background:#e53935;
}

.card:nth-child(2){
background:#3949ab;
}

.card:nth-child(3){
background:#43a047;
}

.card h3{
margin-bottom:15px;
font-size:28px;
}

/* GALLERY */

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:40px;
}

.gallery img{
width:100%;
height:250px;
object-fit:cover;
border-radius:15px;
transition:0.3s;
}

.gallery img:hover{
transform:scale(1.03);
}

/* TABLE */

table{
width:80%;
margin:auto;
border-collapse:collapse;
background:white;
box-shadow:0 5px 10px rgba(0,0,0,0.1);
}

table th{
background:#000;
color:white;
padding:15px;
}

table td{
padding:15px;
border:1px solid #ccc;
}

/* QUICK LINKS */

.quick-links{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
margin-top:30px;
}

.quick-links a{
padding:15px 25px;
text-decoration:none;
color:white;
border-radius:50px;
font-weight:bold;
transition:0.3s;
}

.quick-links a:hover{
transform:scale(1.05);
}

.quick-links a:nth-child(1){
background:#e53935;
}

.quick-links a:nth-child(2){
background:#8e24aa;
}

.quick-links a:nth-child(3){
background:#3949ab;
}

.quick-links a:nth-child(4){
background:#43a047;
}

/* CONTACT FORM */

form{
max-width:600px;
margin:auto;
margin-top:30px;
}

form input,
form textarea{
width:100%;
padding:15px;
margin:10px 0;
border:1px solid #ccc;
border-radius:10px;
font-size:16px;
}

form textarea{
height:150px;
resize:none;
}

form button{
background:black;
color:white;
border:none;
padding:15px 25px;
border-radius:50px;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

form button:hover{
background:#333;
}

/* FOOTER */

footer{
background:black;
color:white;
text-align:center;
padding:25px;
font-size:16px;
}

/* MOBILE RESPONSIVE */

@media(max-width:768px){

nav ul{
flex-direction:column;
}

.dropdown-content{
position:relative;
width:100%;
box-shadow:none;
border-radius:0;
}

.slider{
height:350px;
}

.slides img{
height:350px;
}

.caption{
width:90%;
padding:20px;
}

.caption h2{
font-size:24px;
}

.caption p{
font-size:16px;
}

.cards{
flex-direction:column;
align-items:center;
}

.card{
width:90%;
}

table{
width:100%;
}

.section h2{
font-size:28px;
}

.topbar h1{
font-size:24px;
}

}